Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def ia_modify_metadata(self, identifier, metadata):
try:
modify_metadata(identifier, metadata = metadata, \
access_key = self.access_key, \
secret_key = self.secret_key)
except Exception as e:
self.logger.warn('Could not modify metadata %s. Error %s' , identifier, e)
return False
return True
def ia_modify_metadat(self, identifier, metadata):
try:
modify_metadata(identifier, metadata = metadata, \
access_key = self.access_key, \
secret_key = self.secret_key)
except Exception as e:
self.logger.warn('Could not modify metadata %s. Error %s' , identifier, e)
return False
return True