# HG changeset patch # User Jeff Hammel # Date 1619302173 25200 # Node ID e8752ce07aa0927069e68502a834a022362723ea # Parent 436d8e5ea294264c08e1475492c140103ae7f95e python3 diff -r 436d8e5ea294 -r e8752ce07aa0 silvermirror/unison.py --- a/silvermirror/unison.py Sat Apr 24 15:07:58 2021 -0700 +++ b/silvermirror/unison.py Sat Apr 24 15:09:33 2021 -0700 @@ -14,13 +14,13 @@ command.extend(('-ignore', "'Name %s'" % i)) command = ' '.join(command) - print command # XXX debug -- should go to logging + print(command) if not test: if password: child = pexpect.spawn(command, timeout=36000, maxread=1) child.expect('password: ') child.sendline(password) - print child.read() # XXX -> logging + print(child.read()) else: # XXX should not use shell=True subprocess.call(command, shell=True)