From e0ff3efe041baaba5d3b1c3be8edebddeb659cec Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Fri, 20 Nov 2020 21:37:42 +0100 Subject: [PATCH] fix compare for #286 --- dotdrop/comparator.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dotdrop/comparator.py b/dotdrop/comparator.py index 6801493..634a489 100644 --- a/dotdrop/comparator.py +++ b/dotdrop/comparator.py @@ -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"""