Skip to content
Permalink
Browse files

fix: update deprectaed loging and remove useless volumes assignation

  • Loading branch information...
etienne-napoleone committed Dec 20, 2018
1 parent 8835fdb commit 93c75c124ca603b6822c3196c3b02e0a38f85849
Showing with 3 additions and 3 deletions.
  1. +3 −3 goutte/main.py
@@ -71,7 +71,7 @@ def _process_droplets(conf: Dict[str, Union[Dict[str, str], str]],
if only == 'snapshot' or not only:
_snapshot_droplet(droplet)
else:
log.warn('No matching droplet found')
log.warning('No matching droplet found')
except KeyError:
droplets = None
except KeyboardInterrupt:
@@ -93,9 +93,9 @@ def _process_volumes(conf: Dict[str, Union[Dict[str, str], str]],
if only == 'snapshot' or not only:
_snapshot_volume(volume)
else:
log.warn('No matching volume found')
log.warning('No matching volume found')
except KeyError:
volumes = None
pass
except KeyboardInterrupt:
log.critical('Received interuption signal')
sys.exit(1)

0 comments on commit 93c75c1

Please sign in to comment.
You can’t perform that action at this time.