]> arthur.barton.de Git - bup.git/blobdiff - cmd/xstat-cmd.py
is_superuser: test for group 544 or 0 on cygwin
[bup.git] / cmd / xstat-cmd.py
index f299cbca7bf5a1ce12e745ad98a54f515c4fdd59..aa43a53438a7a558b58701211108d08ad15ef190 100755 (executable)
@@ -4,13 +4,17 @@ bup_python="$(dirname "$0")/bup-python" || exit $?
 exec "$bup_python" "$0" ${1+"$@"}
 """
 # end of bup preamble
+
 # Copyright (C) 2010 Rob Browning
 #
 # This code is covered under the terms of the GNU Library General
 # Public License as described in the bup LICENSE file.
+
+from __future__ import absolute_import
 import sys, stat, errno
+
 from bup import metadata, options, xstat
-from bup.helpers import handle_ctrl_c, parse_timestamp, saved_errors, \
+from bup.helpers import add_error, handle_ctrl_c, parse_timestamp, saved_errors, \
     add_error, log