summaryrefslogtreecommitdiff
path: root/pexpect/tools/websync.py
diff options
context:
space:
mode:
Diffstat (limited to 'pexpect/tools/websync.py')
-rwxr-xr-xpexpect/tools/websync.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pexpect/tools/websync.py b/pexpect/tools/websync.py
index d1c6af4..e79bedc 100755
--- a/pexpect/tools/websync.py
+++ b/pexpect/tools/websync.py
@@ -14,28 +14,28 @@ X = getpass.getpass('Password: ')
pp_pattern=["(?i)password:", "(?i)enter passphrase for key '.*?':"]
p = pexpect.spawn ('scp -r doc/. noah@shell.sourceforge.net:/home/groups/p/pe/pexpect/htdocs/.')
-p.logfile = sys.stdout
+p.logfile_read = sys.stdout
p.expect (pp_pattern)
p.sendline (X)
p.expect (pexpect.EOF)
print p.before
p = pexpect.spawn ('scp doc/clean.css doc/email.png noah@shell.sourceforge.net:/home/groups/p/pe/pexpect/htdocs/clean.css')
-p.logfile = sys.stdout
+p.logfile_read = sys.stdout
p.expect (pp_pattern)
p.sendline (X)
p.expect (pexpect.EOF)
print p.before
#p = pexpect.spawn ('ssh noah@use-pr-shell1.sourceforge.net "cd htdocs;tar zxvf pexpect-doc.tgz"')
-#p.logfile = sys.stdout
+#p.logfile_read = sys.stdout
#p.expect ('password:')
#p.sendline (X)
#p.expect (pexpect.EOF)
#print p.before
p = pexpect.spawn ('scp dist/pexpect-*.tar.gz noah@shell.sourceforge.net:/home/groups/p/pe/pexpect/htdocs/.')
-p.logfile = sys.stdout
+p.logfile_read = sys.stdout
p.expect (pp_pattern)
p.sendline (X)
p.expect (pexpect.EOF)