Skip to content
Snippets Groups Projects
Commit e8860782 authored by BRONES Romain's avatar BRONES Romain
Browse files

Small Fix

* Fix the extractor in error message
parent ac1e3c96
No related branches found
No related tags found
No related merge requests found
......@@ -419,8 +419,8 @@ class ArchiveExtractor:
"""
self.logger.debug("Check that %s is archived."%attribute)
if not self.extractor.IsArchived(attribute):
self.logger.error("Attribute '%s' is not archived in DB %s"%(attribute, extractor))
raise ValueError("Attribute '%s' is not archived in DB %s"%(attribute, extractor))
self.logger.error("Attribute '%s' is not archived in DB %s"%(attribute, self.extractor))
raise ValueError("Attribute '%s' is not archived in DB %s"%(attribute, self.extractor))
def _cmd_with_retry(self, cmd, arg, retry=2):
"""
......
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