jobctrl extension broken on non-windows platforms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Fix Released
|
Medium
|
Ville M. Vainio |
Bug Description
Bug reported originally by Tony Mannucci on list. Here's how to reproduce it:
In [1]: ls *.zip
wrapping.zip
In [2]: import jobctrl
In [3]: ls *.zip
-------
NameError Traceback (most recent call last)
/home/fperez/
/home/fperez/
496 # and it allows interpolation of variables in the user's namespace.
497 self.system = lambda cmd: \
--> 498 self.hooks.
499
500 # These are for getoutput and getoutputerror:
/home/fperez/
133 #print "prio",
134 try:
--> 135 ret = cmd(*args, **kw)
136 return ret
137 except ipapi.TryNext, exc:
/home/fperez/
209 try:
210 p = Popen(cmd,shell = use_shell)
--> 211 except WindowsError:
212 if use_shell:
213 # try with os.system
NameError: global name 'WindowsError' is not defined
Changed in ipython: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in ipython: | |
assignee: | nobody → villemvainio |
status: | Confirmed → Fix Committed |
Changed in ipython: | |
status: | Fix Committed → Fix Released |