diff options
Diffstat (limited to 'WebappConfig/sandbox.py')
-rw-r--r-- | WebappConfig/sandbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebappConfig/sandbox.py b/WebappConfig/sandbox.py index a15dd61..10873fa 100644 --- a/WebappConfig/sandbox.py +++ b/WebappConfig/sandbox.py @@ -96,7 +96,7 @@ class Sandbox: if not pid: try: self._exec(command, self.env, fd_pipes) - except Exception, e: + except Exception as e: # We need to catch _any_ exception so that it doesn't # propagate out of this function and cause exiting # with anything other than os._exit() |