diff options
Diffstat (limited to 'openstack_dashboard/dashboards/project/containers/forms.py')
-rw-r--r-- | openstack_dashboard/dashboards/project/containers/forms.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openstack_dashboard/dashboards/project/containers/forms.py b/openstack_dashboard/dashboards/project/containers/forms.py index ba5d2c87d..1a6378353 100644 --- a/openstack_dashboard/dashboards/project/containers/forms.py +++ b/openstack_dashboard/dashboards/project/containers/forms.py @@ -68,7 +68,7 @@ class CreateContainer(forms.SelfHandlingForm): subfolder_name) messages.success(request, _("Folder created successfully.")) return True - except: + except Exception: exceptions.handle(request, _('Unable to create container.')) @@ -97,7 +97,7 @@ class UploadObject(forms.SelfHandlingForm): object_file) messages.success(request, _("Object was successfully uploaded.")) return obj - except: + except Exception: exceptions.handle(request, _("Unable to upload object.")) @@ -146,7 +146,7 @@ class CopyObject(forms.SelfHandlingForm): messages.error(request, exc) raise exceptions.Http302(reverse(index, args=[wrap_delimiter(orig_container)])) - except: + except Exception: redirect = reverse(index, args=[wrap_delimiter(orig_container)]) exceptions.handle(request, _("Unable to copy object."), |