Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
plandes committed Jul 13, 2024
1 parent 8b06574 commit 7a576f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/python/zensols/grsync/freeze.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ def _freeze_dist(self):
for finfo in data['files']:
fabs = finfo['abs']
frel = str(Path(finfo['rel']))
logger.debug(f'adding file: {fabs}')
if logger.isEnabledFor(logging.DEBUG):
logger.debug(f'adding file: {fabs}')
zf.write(fabs, arcname=frel)
del finfo['abs']
finfo['rel'] = frel
Expand Down

0 comments on commit 7a576f6

Please sign in to comment.