mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-12 18:10:15 +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):
|
if not Templategen.is_template(src):
|
||||||
continue
|
continue
|
||||||
LOG.log('{} (src: \"{}\", link: {})'.format(dotfile.key, dotfile.src,
|
LOG.log('{} (src: \"{}\", link: {})'.format(dotfile.key, dotfile.src,
|
||||||
dotfile.link))
|
dotfile.link.name.lower()))
|
||||||
LOG.sub('{}'.format(dotfile.dst))
|
LOG.sub('{}'.format(dotfile.dst))
|
||||||
LOG.log('')
|
LOG.log('')
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ class Dotfile:
|
|||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
msg = 'key:\"{}\", src:\"{}\", dst:\"{}\", link:\"{}\"'
|
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):
|
def __eq__(self, other):
|
||||||
return self.__dict__ == other.__dict__
|
return self.__dict__ == other.__dict__
|
||||||
|
|||||||
Reference in New Issue
Block a user