summaryrefslogtreecommitdiff
path: root/pexpect/pxssh.py
diff options
context:
space:
mode:
authornoah <noah@656d521f-e311-0410-88e0-e7920216d269>2007-01-23 17:12:08 +0000
committernoah <noah@656d521f-e311-0410-88e0-e7920216d269>2007-01-23 17:12:08 +0000
commit9ffd0a92bdd7bc7aa7fca2d74d1aa2f1df40f645 (patch)
tree7c8dc85fd2722cb33a055fcf04e2b88967ce061c /pexpect/pxssh.py
parentf9d40d6c941c04f6c20d3ba2830834d2e81ed1f0 (diff)
downloadpexpect-9ffd0a92bdd7bc7aa7fca2d74d1aa2f1df40f645.tar.gz
check point. added CWD and fixing hive.py.
Diffstat (limited to 'pexpect/pxssh.py')
-rw-r--r--pexpect/pxssh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pexpect/pxssh.py b/pexpect/pxssh.py
index ce22736..3fce9c7 100644
--- a/pexpect/pxssh.py
+++ b/pexpect/pxssh.py
@@ -52,8 +52,8 @@ class pxssh (spawn):
# Python's super is super annoying.
# http://mail.python.org/pipermail/python-list/2006-February/325485.html
- def __init__ (self, timeout=30, maxread=2000, searchwindowsize=None, logfile=None, env=None):
- spawn.__init__(self, None, timeout=timeout, maxread=maxread, searchwindowsize=searchwindowsize, logfile=logfile, env=env)
+ def __init__ (self, timeout=30, maxread=2000, searchwindowsize=None, logfile=None, cwd=None, env=None):
+ spawn.__init__(self, None, timeout=timeout, maxread=maxread, searchwindowsize=searchwindowsize, logfile=logfile, cwd=cwd, env=env)
self.name = '<pxssh>'
#super(spawn, self).__init__()