changeset 44:e8752ce07aa0

python3
author Jeff Hammel <k0scist@gmail.com>
date Sat, 24 Apr 2021 15:09:33 -0700
parents 436d8e5ea294
children 952a1c2e9cc1
files silvermirror/unison.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)