From 4fa36b6adbad701106a5351b47666d802e1c68bb Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sun, 8 Oct 2017 10:13:06 -0500 Subject: [PATCH] Print the metadata mode in octal, not hex Signed-off-by: Rob Browning Tested-by: Rob Browning --- lib/bup/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bup/metadata.py b/lib/bup/metadata.py index b84f6a1..8ceebdc 100644 --- a/lib/bup/metadata.py +++ b/lib/bup/metadata.py @@ -765,7 +765,7 @@ class Metadata: result += ' path:' + repr(self.path) if self.mode is not None: result += ' mode:' + repr(xstat.mode_str(self.mode) - + '(%s)' % hex(self.mode)) + + '(%s)' % oct(self.mode)) if self.uid is not None: result += ' uid:' + str(self.uid) if self.gid is not None: -- 2.39.2