devtools/qunit.py
changeset 8695 358d8bed9626
parent 8692 40d4ba3589be
child 8756 203fb56685ca
--- a/devtools/qunit.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/devtools/qunit.py	Thu Feb 14 15:38:25 2013 +0100
@@ -82,7 +82,7 @@
             check_call(self.firefox_cmd + ['-CreateProfile',
                         '%s %s' % (self._profile_name, self._tmp_dir)],
                                   stdout=stdout, stderr=stderr)
-        except CalledProcessError, cpe:
+        except CalledProcessError as cpe:
             stdout.seek(0)
             stderr.seek(0)
             raise VerboseCalledProcessError(cpe.returncode, cpe.cmd, stdout.read(), stderr.read())