]> arthur.barton.de Git - bup.git/blobdiff - cmd/on-cmd.py
Use next(it), not it.next() and drop the helpers fallback
[bup.git] / cmd / on-cmd.py
index f76ad3e1e06a71fd07de06db586f1827d92d1a97..10b1e3f249710aae44fae64faa4af83a81624bd6 100755 (executable)
@@ -4,10 +4,13 @@ bup_python="$(dirname "$0")/bup-python" || exit $?
 exec "$bup_python" "$0" ${1+"$@"}
 """
 # end of bup preamble
+
 import sys, os, struct, getopt, subprocess, signal
+
 from subprocess import PIPE
 from bup import options, ssh, path
-from bup.helpers import *
+from bup.helpers import DemuxConn, log
+
 
 optspec = """
 bup on <hostname> index ...