diff options
Diffstat (limited to 'pym/portage/process.py')
-rw-r--r-- | pym/portage/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/process.py b/pym/portage/process.py index 1822a3082..9698743f8 100644 --- a/pym/portage/process.py +++ b/pym/portage/process.py @@ -239,7 +239,7 @@ def spawn(mycommand, env={}, opt_name=None, fd_pipes=None, returnpid=False, try: _exec(binary, mycommand, opt_name, fd_pipes, env, gid, groups, uid, umask, pre_exec) - except Exception, e: + except Exception as e: # We need to catch _any_ exception so that it doesn't # propogate out of this function and cause exiting # with anything other than os._exit() |