Fix flake8 E305 errors.

This commit is contained in:
Aaron Tan
2016-11-15 16:32:27 -05:00
parent 831b67ce7f
commit 473ed016de
34 changed files with 45 additions and 1 deletions

View File

@@ -1736,6 +1736,7 @@ class GroupList(ListCreateAPIView):
serializer_class = GroupSerializer
capabilities_prefetch = ['inventory.admin', 'inventory.adhoc', 'inventory.update']
'''
Useful when you have a self-refering ManyToManyRelationship.
* Tower uses a shallow (2-deep only) url pattern. For example:
@@ -4013,7 +4014,6 @@ class RoleChildrenList(SubListAPIView):
return Role.filter_visible_roles(self.request.user, role.children.all())
# Create view functions for all of the class-based views to simplify inclusion
# in URL patterns and reverse URL lookups, converting CamelCase names to
# lowercase_with_underscore (e.g. MyView.as_view() becomes my_view).