summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/admin/projects
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-09-19 07:50:52 +0000
committerGerrit Code Review <review@openstack.org>2013-09-19 07:50:52 +0000
commitd1afd53a929c6c71b8f3a0ac8ab0e8f061beec9d (patch)
treef84ffe5bc1be3d9cd902b37e2ef284224c468b87 /openstack_dashboard/dashboards/admin/projects
parentb924355d7ff1fee38503852e17450cd0cfeef5a7 (diff)
parentafaa72185cf2e1a41ef685778111d8f51515e050 (diff)
downloadhorizon-d1afd53a929c6c71b8f3a0ac8ab0e8f061beec9d.tar.gz
Merge "PEP8 E126 has been resolved"
Diffstat (limited to 'openstack_dashboard/dashboards/admin/projects')
-rw-r--r--openstack_dashboard/dashboards/admin/projects/views.py2
-rw-r--r--openstack_dashboard/dashboards/admin/projects/workflows.py10
2 files changed, 6 insertions, 6 deletions
diff --git a/openstack_dashboard/dashboards/admin/projects/views.py b/openstack_dashboard/dashboards/admin/projects/views.py
index 13eebcd99..dfa2cafdd 100644
--- a/openstack_dashboard/dashboards/admin/projects/views.py
+++ b/openstack_dashboard/dashboards/admin/projects/views.py
@@ -78,7 +78,7 @@ class IndexView(tables.DataTableView):
def get_data(self):
tenants = []
marker = self.request.GET.get(
- project_tables.TenantsTable._meta.pagination_param, None)
+ project_tables.TenantsTable._meta.pagination_param, None)
domain_context = self.request.session.get('domain_context', None)
try:
tenants, self._more = api.keystone.tenant_list(
diff --git a/openstack_dashboard/dashboards/admin/projects/workflows.py b/openstack_dashboard/dashboards/admin/projects/workflows.py
index ef112f4e2..fe324b0dd 100644
--- a/openstack_dashboard/dashboards/admin/projects/workflows.py
+++ b/openstack_dashboard/dashboards/admin/projects/workflows.py
@@ -522,11 +522,11 @@ class UpdateProject(workflows.Workflow):
# update project info
try:
project = api.keystone.tenant_update(
- request,
- project_id,
- name=data['name'],
- description=data['description'],
- enabled=data['enabled'])
+ request,
+ project_id,
+ name=data['name'],
+ description=data['description'],
+ enabled=data['enabled'])
# Use the domain_id from the project if available
domain_id = getattr(project, "domain_id", None)
except Exception: