From b83e70b09ac700acf3b52b6c99c3ec0b251587fb Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Tue, 14 May 2013 18:44:02 -0400 Subject: [PATCH] Remove various license headers. License was changed to proprietary previously so fix up headers. --- lib/main/__init__.py | 16 +--------------- lib/main/admin.py | 16 +--------------- lib/main/base_views.py | 13 +------------ lib/main/custom_filters.py | 15 +-------------- lib/main/forms.py | 4 +++- lib/main/management/__init__.py | 14 +------------- .../management/commands/acom_callback_event.py | 15 +-------------- lib/main/management/commands/acom_inventory.py | 16 +--------------- lib/main/rbac.py | 16 +--------------- lib/main/serializers.py | 15 +-------------- lib/main/tasks.py | 15 +-------------- lib/main/tests/base.py | 15 +-------------- lib/main/tests/commands.py | 15 +-------------- lib/main/tests/inventory.py | 15 +-------------- lib/main/tests/jobs.py | 15 +-------------- lib/main/tests/organizations.py | 15 +-------------- lib/main/tests/projects.py | 15 +-------------- lib/main/tests/tasks.py | 16 +--------------- lib/main/tests/users.py | 15 +-------------- lib/main/urls.py | 16 +--------------- lib/main/views.py | 15 +-------------- 21 files changed, 23 insertions(+), 284 deletions(-) diff --git a/lib/main/__init__.py b/lib/main/__init__.py index 3293f9412b..49c6ec43a5 100644 --- a/lib/main/__init__.py +++ b/lib/main/__init__.py @@ -1,16 +1,2 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . - +# All Rights Reserved diff --git a/lib/main/admin.py b/lib/main/admin.py index 664239d234..6f7432b588 100644 --- a/lib/main/admin.py +++ b/lib/main/admin.py @@ -1,19 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . - +# All Rights Reserved import json import urllib diff --git a/lib/main/base_views.py b/lib/main/base_views.py index dc2f86e324..461f9d2585 100644 --- a/lib/main/base_views.py +++ b/lib/main/base_views.py @@ -1,18 +1,7 @@ # Copyright (c) 2013 AnsibleWorks, Inc. # # This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . +# All rights reserved from django.http import HttpResponse, Http404 from django.views.decorators.csrf import csrf_exempt diff --git a/lib/main/custom_filters.py b/lib/main/custom_filters.py index ce3b66779d..fe08c02846 100644 --- a/lib/main/custom_filters.py +++ b/lib/main/custom_filters.py @@ -1,18 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . +# All Rights Reserved from rest_framework.filters import BaseFilterBackend from django.core.exceptions import PermissionDenied diff --git a/lib/main/forms.py b/lib/main/forms.py index 311a15434a..ff2252d939 100644 --- a/lib/main/forms.py +++ b/lib/main/forms.py @@ -1,10 +1,12 @@ +# (C) AnsibleWorks, 2013 +# All Rights Reserved + import json from django import forms from django.utils.translation import ugettext_lazy as _ from jsonfield.fields import JSONFormField from lib.main.models import * - EMPTY_CHOICE = ('', '---------') class PlaybookOption(object): diff --git a/lib/main/management/__init__.py b/lib/main/management/__init__.py index 3293f9412b..dc0f7ac9c2 100644 --- a/lib/main/management/__init__.py +++ b/lib/main/management/__init__.py @@ -1,16 +1,4 @@ # Copyright (c) 2013 AnsibleWorks, Inc. # # This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . - +# All Rights Reserved diff --git a/lib/main/management/commands/acom_callback_event.py b/lib/main/management/commands/acom_callback_event.py index 1f389c1115..9c44dbd289 100755 --- a/lib/main/management/commands/acom_callback_event.py +++ b/lib/main/management/commands/acom_callback_event.py @@ -1,20 +1,7 @@ #!/usr/bin/env python # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . +# All Rights Reserved import json from optparse import make_option diff --git a/lib/main/management/commands/acom_inventory.py b/lib/main/management/commands/acom_inventory.py index bd723722f6..687cef1448 100755 --- a/lib/main/management/commands/acom_inventory.py +++ b/lib/main/management/commands/acom_inventory.py @@ -1,21 +1,7 @@ #!/usr/bin/env python # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . - +# All Rights Reserved import json from optparse import make_option diff --git a/lib/main/rbac.py b/lib/main/rbac.py index 7e724e4c76..df140617bb 100644 --- a/lib/main/rbac.py +++ b/lib/main/rbac.py @@ -1,19 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . - +# All Rights Reserved import logging from django.http import Http404 diff --git a/lib/main/serializers.py b/lib/main/serializers.py index ef772ed32e..9c8dd5703c 100644 --- a/lib/main/serializers.py +++ b/lib/main/serializers.py @@ -1,18 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . +# All Rights Reserved # Django from django.contrib.auth.models import User diff --git a/lib/main/tasks.py b/lib/main/tasks.py index 2ea3aeb2f5..41d3bb2e06 100644 --- a/lib/main/tasks.py +++ b/lib/main/tasks.py @@ -1,18 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . +# All Rights Reserved import cStringIO import logging diff --git a/lib/main/tests/base.py b/lib/main/tests/base.py index 7531a6c71b..8d530ee0a4 100644 --- a/lib/main/tests/base.py +++ b/lib/main/tests/base.py @@ -1,18 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . +# All Rights Reserved import contextlib import datetime diff --git a/lib/main/tests/commands.py b/lib/main/tests/commands.py index 5963cac060..7c3f49299a 100644 --- a/lib/main/tests/commands.py +++ b/lib/main/tests/commands.py @@ -1,18 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . +# All Rights Reserved import json import os diff --git a/lib/main/tests/inventory.py b/lib/main/tests/inventory.py index 428a99c8ad..a4d2639fce 100644 --- a/lib/main/tests/inventory.py +++ b/lib/main/tests/inventory.py @@ -1,18 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . +# All Rights Reserved import datetime import json diff --git a/lib/main/tests/jobs.py b/lib/main/tests/jobs.py index 1eea325cec..591eb517d4 100644 --- a/lib/main/tests/jobs.py +++ b/lib/main/tests/jobs.py @@ -1,18 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . +# All Rights Reserved import datetime import json diff --git a/lib/main/tests/organizations.py b/lib/main/tests/organizations.py index cd32b03a56..e1c794e0a4 100644 --- a/lib/main/tests/organizations.py +++ b/lib/main/tests/organizations.py @@ -1,18 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . +# All Rights Reserved import datetime import json diff --git a/lib/main/tests/projects.py b/lib/main/tests/projects.py index aedea56652..e83849ec73 100644 --- a/lib/main/tests/projects.py +++ b/lib/main/tests/projects.py @@ -1,18 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . +# All Rights Reserved import datetime import json diff --git a/lib/main/tests/tasks.py b/lib/main/tests/tasks.py index f2aa6ae7b5..2af747a64c 100644 --- a/lib/main/tests/tasks.py +++ b/lib/main/tests/tasks.py @@ -1,19 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . - +# All Rights Reserved import os import shutil diff --git a/lib/main/tests/users.py b/lib/main/tests/users.py index 6f87c0e7e7..4ad6d2d965 100644 --- a/lib/main/tests/users.py +++ b/lib/main/tests/users.py @@ -1,18 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . +# All Rights Reserved import json diff --git a/lib/main/urls.py b/lib/main/urls.py index 93b58a9440..ff1f87fde1 100644 --- a/lib/main/urls.py +++ b/lib/main/urls.py @@ -1,19 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . - +# All Rights Reserved from django.conf.urls import include, patterns, url as original_url import lib.main.views as views diff --git a/lib/main/views.py b/lib/main/views.py index e40576179d..46797a9be3 100644 --- a/lib/main/views.py +++ b/lib/main/views.py @@ -1,18 +1,5 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# -# This file is part of Ansible Commander. -# -# Ansible Commander 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, version 3 of the License. -# -# Ansible Commander 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. -# -# You should have received a copy of the GNU General Public License -# along with Ansible Commander. If not, see . +# All Rights Reserved from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt