Skip to content

Commit

Permalink
fomat => format
Browse files Browse the repository at this point in the history
  • Loading branch information
Michiel Vermeir committed Oct 5, 2018
1 parent 0a045d6 commit 8c7d742
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wanna/vendors/aws/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_encryption_key(self, key=None):
try:
return bytes(bytearray.fromhex(key))
except ValueError as error:
LOG.warning('{}, enc key: {}'.fomat(error, key))
LOG.warning('{}, enc key: {}'.format(error, key))
return key
return self.config.ENCRYPTION_KEY

Expand Down Expand Up @@ -126,7 +126,7 @@ def get_files():
itemname = os.path.basename(item)
key = self.get_obj_key(itemname)
progress_callback = ProgressPercentage(item, humanized=self._humanized) if progress else lambda x: None
extra_args = {} if use_encryption is False else self._get_extra_args(encryption_key=encryption_key)
extra_args = {} if self._encrypt is False else self._get_extra_args(encryption_key=encryption_key)

with ignore_ctrl_c():
with self._transfer(self.client) as transfer:
Expand Down

0 comments on commit 8c7d742

Please sign in to comment.