fix invalid except clause

--HG--
branch : pmacs2
This commit is contained in:
moculus 2008-05-20 21:40:50 +00:00
parent b123ac8a60
commit 4ebce6cc42
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ class Application(object):
try: try:
pipe = Popen(args) pipe = Popen(args)
pipe.wait() pipe.wait()
except OSError(e): except OSError, e:
self.set_error("%s: %s" % (args[0], e)) self.set_error("%s: %s" % (args[0], e))
curses.reset_prog_mode() curses.reset_prog_mode()
self.win.redrawwin() self.win.redrawwin()