Skip to content

Commit

Permalink
Remove __all__ declarations
Browse files Browse the repository at this point in the history
These are not up-to-date most of the time, and don't have any use, as
wildcard imports would not pass flake8 check.
  • Loading branch information
lubomir committed Oct 1, 2015
1 parent bff011e commit b32d8ff
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 29 deletions.
10 changes: 0 additions & 10 deletions pdc/apps/component/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@
from pdc.apps.release import signals


__all__ = [
'Upstream',
'GlobalComponent',
'ReleaseComponent',
'BugzillaComponent',
'ReleaseComponentGroup',
'GroupType'
]


def validate_bc_name(name):
if "/" in name:
raise ValidationError("Symbol / is not acceptted as part of bugzilla component's name.")
Expand Down
11 changes: 0 additions & 11 deletions pdc/apps/component/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,6 @@
from . import signals


__all__ = (
'GlobalComponentSerializer',
'ReleaseComponentSerializer',
'HackedContactSerializer',
'UpstreamSerializer',
'BugzillaComponentSerializer',
'GroupSerializer',
'GroupTypeSerializer'
)


def reverse_url(request, view_name, **kwargs):
return request.build_absolute_uri(reverse(viewname=view_name,
kwargs=kwargs))
Expand Down
8 changes: 0 additions & 8 deletions pdc/apps/contact/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@
from django.db.models.query import QuerySet
from django.forms.models import model_to_dict

__all__ = [
'Person',
'Maillist',
'ContactRole',
'Contact',
'RoleContact',
]


class ContactRole(models.Model):

Expand Down

0 comments on commit b32d8ff

Please sign in to comment.