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:
@@ -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('')
|
||||
|
||||
|
||||
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user