Skip to content
Snippets Groups Projects
Verified Commit f696051a authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

tests: Remove pep8 violations

parent fafe0962
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ class BaseVaultCooker(metaclass=abc.ABCMeta):
Override this in the cooker implementation.
"""
raise NotImplemented
raise NotImplementedError
@abc.abstractmethod
def prepare_bundle(self):
......@@ -98,7 +98,7 @@ class BaseVaultCooker(metaclass=abc.ABCMeta):
Override this with the cooker implementation.
"""
raise NotImplemented
raise NotImplementedError
def write(self, chunk):
self.fileobj.write(chunk)
......@@ -118,7 +118,7 @@ class BaseVaultCooker(metaclass=abc.ABCMeta):
except PolicyError as e:
self.backend.set_status(self.obj_type, self.obj_id, 'failed')
self.backend.set_progress(self.obj_type, self.obj_id, str(e))
except Exception as e:
except Exception:
self.backend.set_status(self.obj_type, self.obj_id, 'failed')
self.backend.set_progress(
self.obj_type, self.obj_id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment