diff options
author | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2008-12-06 03:57:06 +0000 |
---|---|---|
committer | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2008-12-06 03:57:06 +0000 |
commit | 0b54fce17d896eefc7329954f32522549028b709 (patch) | |
tree | d84876625916d6be08751767850f51829e1a93de | |
parent | 954c17fd07d1843ea2b1a2e134a62f4043b1386b (diff) | |
download | pexpect-0b54fce17d896eefc7329954f32522549028b709.tar.gz |
Just some comment updates.
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@519 656d521f-e311-0410-88e0-e7920216d269
-rw-r--r-- | pexpect/psh.py | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pexpect/psh.py b/pexpect/psh.py index ac5f761..b84ed94 100644 --- a/pexpect/psh.py +++ b/pexpect/psh.py @@ -1,5 +1,6 @@ -"""This is a utility class to make shell scripting easier in Python. It -combines Pexpect and wraps many Standard Python Library functions. +"""This is a utility class to make shell scripting easier in Python. +It combines Pexpect and wraps many Standard Python Library functions +to make them look more shell-like. $Id$ """ @@ -9,12 +10,12 @@ from types import * class ExceptionPsh(pexpect.ExceptionPexpect): - """Raised for pxssh exceptions. + """Raised for Psh exceptions. """ class ExceptionErrorCode(ExceptionPsh): - """Raised when an program returns an error code + """Raised when an program returns an error code. """ def __init__(self, string, err_code, cmd_output): @@ -92,6 +93,11 @@ class psh (object): def run_raw(self, cmd, stim_resp_dict=None, timeout=None): + """Someone contributed this, but now I've lost touch and I forget the motive of this. + It was sort of a sketch at the time which doesn't make this any easier to prioritize, but + it seemed important at the time. + """ + if not timeout: timeout = self.default_timeout def cmd_exp_loop(param): |