From: Rob Browning Date: Wed, 19 Jan 2011 00:59:06 +0000 (-0600) Subject: Use oct() rather than hex() when printing mode from bup xstat. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9a12e2e6f3cef3d234b3c39f09a065b2c4e92782;p=packages%2Fb%2Fbup.git Use oct() rather than hex() when printing mode from bup xstat. --- diff --git a/cmd/xstat-cmd.py b/cmd/xstat-cmd.py index c9e3310..9317aab 100755 --- a/cmd/xstat-cmd.py +++ b/cmd/xstat-cmd.py @@ -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: