1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-06 01:28:04 +00:00

migrate from PyYAML to ruamel.yaml

This commit is contained in:
deadc0de6
2019-06-06 17:11:13 +02:00
parent cd722e6eb1
commit d008e6a895
11 changed files with 71 additions and 76 deletions

View File

@@ -472,7 +472,10 @@ def cmd_remove(o):
LOG.raw(o.conf.dump())
else:
o.conf.save()
LOG.log('\ndotfile(s) removed: {}'.format(','.join(removed)))
if removed:
LOG.log('\ndotfile(s) removed: {}'.format(','.join(removed)))
else:
LOG.log('\nno dotfile removed')
return True