]> arthur.barton.de Git - bup.git/commitdiff
Use oct() rather than hex() when printing mode from bup xstat.
authorRob Browning <rlb@defaultvalue.org>
Wed, 19 Jan 2011 00:59:06 +0000 (18:59 -0600)
committerRob Browning <rlb@defaultvalue.org>
Wed, 19 Jan 2011 00:59:06 +0000 (18:59 -0600)
cmd/xstat-cmd.py

index c9e3310a1b4ba198fdcba669d1b61bb798c31f59..9317aabfc9ceea56a094a1a73561c2a028565440 100755 (executable)
@@ -73,7 +73,7 @@ for path in remainder:
     if 'path' in active_fields:
         print 'path:', m.path
     if 'mode' in active_fields:
-        print 'mode:', hex(m.mode)
+        print 'mode:', oct(m.mode)
     if 'link-target' in active_fields and stat.S_ISLNK(m.mode):
         print 'link-target:', m.symlink_target
     if 'rdev' in active_fields: