Fixes PEP8 errors as reported by pep8 1.3.4
Change-Id: I8453567f49e8673b2cc6bfe090044dbdb8d3520f
This commit is contained in:
parent
648c8a582b
commit
4d2199d8fe
@ -41,7 +41,7 @@ class CreateNetwork(forms.SelfHandlingForm):
|
||||
def _instantiate(cls, request, *args, **kwargs):
|
||||
return cls(request, *args, **kwargs)
|
||||
|
||||
def __init__(self, request, *args, **kwargs):
|
||||
def __init__(self, request, *args, **kwargs):
|
||||
super(CreateNetwork, self).__init__(request, *args, **kwargs)
|
||||
tenant_choices = [('', _("Select a project"))]
|
||||
for tenant in api.keystone.tenant_list(request, admin=True):
|
||||
|
@ -54,7 +54,7 @@ class DeleteContainer(tables.DeleteAction):
|
||||
# completion url
|
||||
if current_container in self.success_ids:
|
||||
return self.success_url
|
||||
return request.get_full_path()
|
||||
return request.get_full_path()
|
||||
|
||||
|
||||
class CreateContainer(tables.LinkAction):
|
||||
|
Loading…
x
Reference in New Issue
Block a user