1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 19:09:44 +00:00

print link status

This commit is contained in:
deadc0de6
2019-02-02 22:09:23 +01:00
parent 7432d028fc
commit 0b6098f8b8
2 changed files with 2 additions and 2 deletions

View File

@@ -332,7 +332,7 @@ def cmd_list_files(opts, conf, templateonly=False):
if not Templategen.is_template(src):
continue
LOG.log('{} (src: \"{}\", link: {})'.format(dotfile.key, dotfile.src,
dotfile.link))
dotfile.link.name.lower()))
LOG.sub('{}'.format(dotfile.dst))
LOG.log('')

View File

@@ -37,7 +37,7 @@ class Dotfile:
def __str__(self):
msg = 'key:\"{}\", src:\"{}\", dst:\"{}\", link:\"{}\"'
return msg.format(self.key, self.src, self.dst, self.link.name)
return msg.format(self.key, self.src, self.dst, self.link.name.lower())
def __eq__(self, other):
return self.__dict__ == other.__dict__