Skip to content

Commit

Permalink
Update clean_key representation for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
codywilbourn committed Nov 15, 2017
1 parent 45e9f46 commit b68a0ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tc_aws/aws/bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def delete(self, path, callback=None):
)

def _clean_key(self, path):
logger.debug('Cleaning key: {path}'.format(path=path))
logger.debug('Cleaning key: {path!r}'.format(path=path))
key = path
while '//' in key:
logger.debug(key)
Expand All @@ -135,5 +135,5 @@ def _clean_key(self, path):
if '/' == key[0]:
key = key[1:]

logger.debug('Cleansed key: {key}'.format(key=key))
logger.debug('Cleansed key: {key!r}'.format(key=key))
return key

0 comments on commit b68a0ac

Please sign in to comment.