Browse Source

Gate on H102 Apache 2.0 license header not found for pep8

Now all files are properly licensed per OpenStack Hacking.

Change-Id: I223d983018568357197b0d9cf5dde12c135c53c9
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
tags/2014.1.b1
Paul Belanger 6 years ago
parent
commit
74117eb8b6
42 changed files with 481 additions and 4 deletions
  1. 0
    2
      doc/source/conf.py
  2. 12
    0
      horizon/conf/__init__.py
  3. 12
    0
      horizon/conf/default.py
  4. 12
    0
      horizon/loaders.py
  5. 12
    0
      horizon/management/commands/startdash.py
  6. 12
    0
      horizon/management/commands/startpanel.py
  7. 12
    0
      horizon/tabs/views.py
  8. 12
    0
      horizon/test/customization/cust_test1.py
  9. 12
    0
      horizon/test/customization/cust_test2.py
  10. 12
    0
      horizon/test/test_dashboards/cats/dashboard.py
  11. 12
    0
      horizon/test/test_dashboards/cats/kittens/panel.py
  12. 12
    0
      horizon/test/test_dashboards/cats/tigers/panel.py
  13. 12
    0
      horizon/test/test_dashboards/dogs/dashboard.py
  14. 12
    0
      horizon/test/test_dashboards/dogs/puppies/panel.py
  15. 12
    0
      horizon/utils/fields.py
  16. 12
    0
      horizon/utils/functions.py
  17. 12
    0
      horizon/utils/html.py
  18. 12
    0
      horizon/workflows/__init__.py
  19. 12
    0
      manage.py
  20. 12
    0
      openstack_dashboard/dashboards/admin/flavors/extras/tests.py
  21. 12
    0
      openstack_dashboard/dashboards/admin/flavors/tests.py
  22. 12
    0
      openstack_dashboard/dashboards/admin/groups/constants.py
  23. 12
    0
      openstack_dashboard/dashboards/admin/info/tables.py
  24. 12
    0
      openstack_dashboard/dashboards/admin/projects/tables.py
  25. 12
    0
      openstack_dashboard/dashboards/admin/users/tables.py
  26. 12
    0
      openstack_dashboard/dashboards/admin/volumes/panel.py
  27. 12
    0
      openstack_dashboard/dashboards/admin/volumes/tables.py
  28. 12
    0
      openstack_dashboard/dashboards/admin/volumes/urls.py
  29. 12
    0
      openstack_dashboard/dashboards/project/firewalls/panel.py
  30. 12
    0
      openstack_dashboard/dashboards/project/images_and_snapshots/utils.py
  31. 12
    0
      openstack_dashboard/dashboards/project/loadbalancers/panel.py
  32. 12
    0
      openstack_dashboard/dashboards/project/loadbalancers/tests.py
  33. 12
    0
      openstack_dashboard/dashboards/project/routers/forms.py
  34. 12
    0
      openstack_dashboard/dashboards/project/stacks/api.py
  35. 12
    0
      openstack_dashboard/dashboards/project/stacks/sro.py
  36. 12
    0
      openstack_dashboard/dashboards/project/volumes/forms.py
  37. 12
    0
      openstack_dashboard/test/settings.py
  38. 12
    0
      openstack_dashboard/usage/base.py
  39. 12
    0
      openstack_dashboard/usage/quotas.py
  40. 12
    0
      openstack_dashboard/usage/tables.py
  41. 12
    0
      openstack_dashboard/usage/views.py
  42. 1
    2
      tox.ini

+ 0
- 2
doc/source/conf.py View File

@@ -1,5 +1,3 @@
1
-# -*- coding: utf-8 -*-
2
-#
3 1
 # Horizon documentation build configuration file, created by
4 2
 # sphinx-quickstart on Thu Oct 27 11:38:59 2011.
5 3
 #

+ 12
- 0
horizon/conf/__init__.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import copy
2 14
 
3 15
 from django.utils.functional import empty  # noqa

+ 12
- 0
horizon/conf/default.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.conf import settings  # noqa
2 14
 from django.utils.translation import ugettext_lazy as _  # noqa
3 15
 

+ 12
- 0
horizon/loaders.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 """
2 14
 Wrapper for loading templates from "templates" directories in panel modules.
3 15
 """

+ 12
- 0
horizon/management/commands/startdash.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import glob
2 14
 from optparse import make_option  # noqa
3 15
 import os

+ 12
- 0
horizon/management/commands/startpanel.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import glob
2 14
 from optparse import make_option  # noqa
3 15
 import os

+ 12
- 0
horizon/tabs/views.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django import http
2 14
 from django.views import generic
3 15
 

+ 12
- 0
horizon/test/customization/cust_test1.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import horizon
2 14
 from horizon import base
3 15
 

+ 12
- 0
horizon/test/customization/cust_test2.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import horizon
2 14
 from horizon import base
3 15
 

+ 12
- 0
horizon/test/test_dashboards/cats/dashboard.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import horizon
2 14
 
3 15
 

+ 12
- 0
horizon/test/test_dashboards/cats/kittens/panel.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import horizon
2 14
 
3 15
 from horizon.test.test_dashboards.cats import dashboard

+ 12
- 0
horizon/test/test_dashboards/cats/tigers/panel.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import horizon
2 14
 
3 15
 from horizon.test.test_dashboards.cats import dashboard

+ 12
- 0
horizon/test/test_dashboards/dogs/dashboard.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import horizon
2 14
 
3 15
 

+ 12
- 0
horizon/test/test_dashboards/dogs/puppies/panel.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import horizon
2 14
 
3 15
 from horizon.test.test_dashboards.dogs import dashboard

+ 12
- 0
horizon/utils/fields.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.core.exceptions import ValidationError  # noqa
2 14
 from django.forms import forms
3 15
 from django.forms import widgets

+ 12
- 0
horizon/utils/functions.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import math
2 14
 
3 15
 from django.utils.encoding import force_unicode  # noqa

+ 12
- 0
horizon/utils/html.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import copy
2 14
 
3 15
 from django.forms.util import flatatt  # noqa

+ 12
- 0
horizon/workflows/__init__.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from horizon.workflows.base import Action  # noqa
2 14
 from horizon.workflows.base import MembershipAction  # noqa
3 15
 from horizon.workflows.base import Step  # noqa

+ 12
- 0
manage.py View File

@@ -1,5 +1,17 @@
1 1
 #!/usr/bin/env python
2 2
 
3
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
4
+# not use this file except in compliance with the License. You may obtain
5
+# a copy of the License at
6
+#
7
+#      http://www.apache.org/licenses/LICENSE-2.0
8
+#
9
+# Unless required by applicable law or agreed to in writing, software
10
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12
+# License for the specific language governing permissions and limitations
13
+# under the License.
14
+
3 15
 import os
4 16
 import sys
5 17
 

+ 12
- 0
openstack_dashboard/dashboards/admin/flavors/extras/tests.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.core.urlresolvers import reverse  # noqa
2 14
 from django import http
3 15
 

+ 12
- 0
openstack_dashboard/dashboards/admin/flavors/tests.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.core.urlresolvers import reverse  # noqa
2 14
 from django import http
3 15
 from mox import IsA  # noqa

+ 12
- 0
openstack_dashboard/dashboards/admin/groups/constants.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 GROUPS_INDEX_URL = 'horizon:admin:groups:index'
2 14
 GROUPS_INDEX_VIEW_TEMPLATE = 'admin/groups/index.html'
3 15
 GROUPS_CREATE_URL = 'horizon:admin:groups:create'

+ 12
- 0
openstack_dashboard/dashboards/admin/info/tables.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django import template
2 14
 from django.template import defaultfilters as filters
3 15
 from django.utils.translation import ugettext_lazy as _  # noqa

+ 12
- 0
openstack_dashboard/dashboards/admin/projects/tables.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.core.urlresolvers import reverse  # noqa
2 14
 from django.utils.http import urlencode  # noqa
3 15
 from django.utils.translation import ugettext_lazy as _  # noqa

+ 12
- 0
openstack_dashboard/dashboards/admin/users/tables.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.template import defaultfilters
2 14
 from django.utils.translation import ugettext_lazy as _  # noqa
3 15
 

+ 12
- 0
openstack_dashboard/dashboards/admin/volumes/panel.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.utils.translation import ugettext_lazy as _  # noqa
2 14
 
3 15
 import horizon

+ 12
- 0
openstack_dashboard/dashboards/admin/volumes/tables.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.utils.translation import ugettext_lazy as _  # noqa
2 14
 
3 15
 from horizon import tables

+ 12
- 0
openstack_dashboard/dashboards/admin/volumes/urls.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.conf.urls import patterns  # noqa
2 14
 from django.conf.urls import url  # noqa
3 15
 

+ 12
- 0
openstack_dashboard/dashboards/project/firewalls/panel.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.conf import settings  # noqa
2 14
 from django.utils.translation import ugettext_lazy as _  # noqa
3 15
 

+ 12
- 0
openstack_dashboard/dashboards/project/images_and_snapshots/utils.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.utils.translation import ugettext_lazy as _  # noqa
2 14
 
3 15
 from horizon import exceptions

+ 12
- 0
openstack_dashboard/dashboards/project/loadbalancers/panel.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.conf import settings  # noqa
2 14
 from django.utils.translation import ugettext_lazy as _  # noqa
3 15
 

+ 12
- 0
openstack_dashboard/dashboards/project/loadbalancers/tests.py View File

@@ -1,5 +1,17 @@
1 1
 # vim: tabstop=4 shiftwidth=4 softtabstop=4
2 2
 
3
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
4
+# not use this file except in compliance with the License. You may obtain
5
+# a copy of the License at
6
+#
7
+#      http://www.apache.org/licenses/LICENSE-2.0
8
+#
9
+# Unless required by applicable law or agreed to in writing, software
10
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12
+# License for the specific language governing permissions and limitations
13
+# under the License.
14
+
3 15
 from mox import IsA  # noqa
4 16
 
5 17
 from django.core.urlresolvers import reverse  # noqa

+ 12
- 0
openstack_dashboard/dashboards/project/routers/forms.py View File

@@ -3,6 +3,18 @@
3 3
 # Copyright 2012,  Nachi Ueno,  NTT MCL,  Inc.
4 4
 # All rights reserved.
5 5
 
6
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
7
+# not use this file except in compliance with the License. You may obtain
8
+# a copy of the License at
9
+#
10
+#      http://www.apache.org/licenses/LICENSE-2.0
11
+#
12
+# Unless required by applicable law or agreed to in writing, software
13
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
+# License for the specific language governing permissions and limitations
16
+# under the License.
17
+
6 18
 """
7 19
 Views for managing Neutron Routers.
8 20
 """

+ 12
- 0
openstack_dashboard/dashboards/project/stacks/api.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import json
2 14
 
3 15
 from openstack_dashboard.api import heat

+ 12
- 0
openstack_dashboard/dashboards/project/stacks/sro.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.template.defaultfilters import title  # noqa
2 14
 from django.template.loader import render_to_string  # noqa
3 15
 

+ 12
- 0
openstack_dashboard/dashboards/project/volumes/forms.py View File

@@ -3,6 +3,18 @@
3 3
 # Copyright 2012 Nebula, Inc.
4 4
 # All rights reserved.
5 5
 
6
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
7
+# not use this file except in compliance with the License. You may obtain
8
+# a copy of the License at
9
+#
10
+#      http://www.apache.org/licenses/LICENSE-2.0
11
+#
12
+# Unless required by applicable law or agreed to in writing, software
13
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
+# License for the specific language governing permissions and limitations
16
+# under the License.
17
+
6 18
 """
7 19
 Views for managing volumes.
8 20
 """

+ 12
- 0
openstack_dashboard/test/settings.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 import os
2 14
 
3 15
 from horizon.test.settings import *  # noqa

+ 12
- 0
openstack_dashboard/usage/base.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from __future__ import division
2 14
 
3 15
 from csv import DictWriter  # noqa

+ 12
- 0
openstack_dashboard/usage/quotas.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from collections import defaultdict  # noqa
2 14
 import itertools
3 15
 import logging

+ 12
- 0
openstack_dashboard/usage/tables.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from django.core import urlresolvers
2 14
 from django.template.defaultfilters import floatformat  # noqa
3 15
 from django.template.defaultfilters import timesince  # noqa

+ 12
- 0
openstack_dashboard/usage/views.py View File

@@ -1,3 +1,15 @@
1
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
2
+# not use this file except in compliance with the License. You may obtain
3
+# a copy of the License at
4
+#
5
+#      http://www.apache.org/licenses/LICENSE-2.0
6
+#
7
+# Unless required by applicable law or agreed to in writing, software
8
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+# License for the specific language governing permissions and limitations
11
+# under the License.
12
+
1 13
 from horizon import tables
2 14
 from openstack_dashboard import api
3 15
 from openstack_dashboard.usage import base

+ 1
- 2
tox.ini View File

@@ -34,9 +34,8 @@ builtins = _
34 34
 exclude =  .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py
35 35
 # E127 continuation line over-indented for visual indent
36 36
 # E128 continuation line under-indented for visual indent
37
-# H102 Apache 2.0 license header not found
38 37
 # H4xx docstrings
39 38
 # H701 empty localization string
40 39
 # H702 Formatting operation should be outside of localization method call
41 40
 # H803 git commit title should not end with period (disabled on purpose, see bug #1236621)
42
-ignore = E127,E128,H102,H4,H701,H702,H803
41
+ignore = E127,E128,H4,H701,H702,H803

Loading…
Cancel
Save