PEP8 cleanups, E501.

This commit is contained in:
Roberto Rosario
2015-07-23 04:05:29 -04:00
parent 0a0a92116e
commit 3b728328ad
48 changed files with 613 additions and 176 deletions

View File

@@ -24,7 +24,9 @@ class PermissionNamespace(object):
return cls._registry[name]
except KeyError:
raise InvalidNamespace(
'Invalid namespace name. This is probably an obsolete permission namespace, execute the management command "purge_permissions" and try again.'
'Invalid namespace name. This is probably an obsolete '
'permission namespace, execute the management command '
'"purge_permissions" and try again.'
)
def __init__(self, name, label):
@@ -106,5 +108,7 @@ class Permission(object):
name=self.name,
)
stored_permission.volatile_permission = self
self.__class__._stored_permissions_cache[self.uuid] = stored_permission
self.__class__._stored_permissions_cache[
self.uuid
] = stored_permission
return stored_permission