diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-07-06 08:41:04 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-07-06 08:41:04 +0000 |
commit | d8673dd004443aa4aaa245bd31e84c349be390ea (patch) | |
tree | 504e8bd32230e069f2a6cda3685dc4987ac2c281 /dev-python/ipython/files | |
parent | Version bump. (diff) | |
download | historical-d8673dd004443aa4aaa245bd31e84c349be390ea.tar.gz historical-d8673dd004443aa4aaa245bd31e84c349be390ea.tar.bz2 historical-d8673dd004443aa4aaa245bd31e84c349be390ea.zip |
Added patch fixing recurring WindowsError, doc install cleaning.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-python/ipython/files')
-rw-r--r-- | dev-python/ipython/files/ipython-0.8.4-jobctrl.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/ipython/files/ipython-0.8.4-jobctrl.patch b/dev-python/ipython/files/ipython-0.8.4-jobctrl.patch new file mode 100644 index 000000000000..a591492b5c1e --- /dev/null +++ b/dev-python/ipython/files/ipython-0.8.4-jobctrl.patch @@ -0,0 +1,24 @@ +--- IPython/Extensions/jobctrl.py.orig 2008-07-05 11:04:11.672812749 +0100 ++++ IPython/Extensions/jobctrl.py 2008-07-05 14:12:45.893249659 +0100 +@@ -190,10 +190,11 @@ + + if sys.platform == 'win32': + shell_internal_commands = 'break chcp cls copy ctty date del erase dir md mkdir path prompt rd rmdir start time type ver vol'.split() ++ PopenExc = WindowsError + else: + # todo linux commands + shell_internal_commands = [] +- ++ PopenExc = OSError + + def jobctrl_shellcmd(ip,cmd): + """ os.system replacement that stores process info to db['tasks/t1234'] """ +@@ -208,7 +209,7 @@ + try: + try: + p = Popen(cmd,shell = use_shell) +- except WindowsError: ++ except PopenExc: + if use_shell: + # try with os.system + os.system(cmd) |