1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 21:23:02 +00:00

fix compare for #286

This commit is contained in:
deadc0de6
2020-11-20 21:37:42 +01:00
parent 288581632a
commit e0ff3efe04

View File

@@ -70,8 +70,7 @@ class Comparator:
msg = 'mode differ {} ({:o}) and {} ({:o})'
self.log.dbg(msg.format(left, left_mode, right, right_mode))
ret = 'modes differ for {} ({:o}) vs {:o}\n'
ret.format(right, right_mode, left_mode)
return ret
return ret.format(right, right_mode, left_mode)
def _comp_file(self, left, right, ignore):
"""compare a file"""