From eedd27127626e35601df7c6257b32f73290482c6 Mon Sep 17 00:00:00 2001 From: Zhongyue Luo Date: Thu, 19 Jan 2012 06:30:29 +0000 Subject: Revert "Exception raise error" This reverts commit 45c62a8e86bbd35a50fefe33248b01f6482982a8 --- keystone/tools/buffout.py | 2 +- run_tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keystone/tools/buffout.py b/keystone/tools/buffout.py index cf6e32ac..e0202c0e 100644 --- a/keystone/tools/buffout.py +++ b/keystone/tools/buffout.py @@ -24,7 +24,7 @@ class OutputBuffer(): if exc_type is None: self.stop() else: - raise exc_type, exc_value, traceback + raise def __unicode__(self): return self._contents diff --git a/run_tests.sh b/run_tests.sh index c587c5e1..e943bd8b 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -146,7 +146,7 @@ function run_pep8 { srcfiles+=" keystone examples tools setup.py run_tests.py" # Just run PEP8 in current environment ${wrapper} pep8 --repeat --show-pep8 --show-source \ - --ignore=E202,E111,W602 \ + --ignore=E202,E111 \ --exclude=vcsversion.py,$GLOBIGNORE ${srcfiles} } -- cgit