Update file-headers

This commit is contained in:
Bulat Gaifullin 2015-12-29 12:08:39 +03:00
parent 2873c724bf
commit 15cbcf5e0a
46 changed files with 507 additions and 425 deletions

View File

@ -1,13 +0,0 @@
# Copyright 2015 Mirantis, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.

View File

@ -1,16 +1,21 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # Copyright 2015 Mirantis, Inc.
# You may obtain a copy of the License at
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# Unless required by applicable law or agreed to in writing, software # This program is distributed in the hope that it will be useful,
# distributed under the License is distributed on an "AS IS" BASIS, # but WITHOUT ANY WARRANTY; without even the implied warranty of
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# implied. # GNU General Public License for more details.
# See the License for the specific language governing permissions and #
# limitations under the License. # You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os import os
import sys import sys

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import logging import logging

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
from cliff import app from cliff import app
from cliff.commandmanager import CommandManager from cliff.commandmanager import CommandManager

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import abc import abc

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
from packetary.cli.commands.base import BaseRepoCommand from packetary.cli.commands.base import BaseRepoCommand
from packetary.cli.commands.utils import read_lines_from_file from packetary.cli.commands.utils import read_lines_from_file

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
from packetary.cli.commands.base import BaseProduceOutputCommand from packetary.cli.commands.base import BaseProduceOutputCommand
from packetary.cli.commands.utils import read_lines_from_file from packetary.cli.commands.utils import read_lines_from_file

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
from packetary.cli.commands.base import BaseProduceOutputCommand from packetary.cli.commands.base import BaseProduceOutputCommand
from packetary.cli.commands.utils import read_lines_from_file from packetary.cli.commands.utils import read_lines_from_file

View File

@ -2,18 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import operator import operator

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import logging import logging
import os import os

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import abc import abc
import logging import logging

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
from contextlib import closing from contextlib import closing
import copy import copy

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import copy import copy
import multiprocessing import multiprocessing

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import functools import functools
import hashlib import hashlib

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import errno import errno
import logging import logging

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
from __future__ import with_statement from __future__ import with_statement

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import zlib import zlib

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
from __future__ import with_statement from __future__ import with_statement

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import abc import abc
import six import six

View File

@ -2,18 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
from bintrees import FastRBTree from bintrees import FastRBTree
from collections import defaultdict from collections import defaultdict

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
from collections import namedtuple from collections import namedtuple

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import operator import operator

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
from packetary.objects.base import ComparableObject from packetary.objects.base import ComparableObject

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import warnings import warnings

View File

@ -1,16 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
class Repository(object): class Repository(object):

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import copy import copy

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
try: try:
import unittest2 as unittest import unittest2 as unittest

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
class Executor(object): class Executor(object):

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
from packetary import objects from packetary import objects

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
from contextlib import closing from contextlib import closing
import gzip import gzip

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import six import six

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import mock import mock
import subprocess import subprocess

View File

@ -2,18 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import mock import mock

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import mock import mock
import six import six

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import mock import mock
import os.path as path import os.path as path

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import mock import mock
import threading import threading

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import six import six

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import mock import mock

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import copy import copy
import six import six

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import warnings import warnings

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import mock import mock

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import copy import copy
import mock import mock

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import mock import mock
import os.path as path import os.path as path

View File

@ -2,17 +2,19 @@
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
import six import six

View File

@ -1,17 +1,20 @@
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P. # -*- coding: utf-8 -*-
# Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # This program is free software; you can redistribute it and/or modify
# you may not use this file except in compliance with the License. # it under the terms of the GNU General Public License as published by
# You may obtain a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, # with this program; if not, write to the Free Software Foundation, Inc.,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT # THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools import setuptools

View File

@ -1,16 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2015 Mirantis, Inc. # Copyright 2015 Mirantis, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # This program is free software; you can redistribute it and/or modify
# not use this file except in compliance with the License. You may obtain # it under the terms of the GNU General Public License as published by
# a copy of the License at # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# #
# http://www.apache.org/licenses/LICENSE-2.0 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# #
# Unless required by applicable law or agreed to in writing, software # You should have received a copy of the GNU General Public License along
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # with this program; if not, write to the Free Software Foundation, Inc.,
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# License for the specific language governing permissions and limitations
# under the License.
def setup_hook(config): def setup_hook(config):