From: zooko Date: Mon, 15 Jun 2009 19:09:04 +0000 (+0530) Subject: setup: don't use BaseException (introduced in Python 2.5); instead Exception (for... X-Git-Url: https://git.rkrishnan.org/?p=tahoe-lafs%2Fzfec.git;a=commitdiff_plain;h=02d9496a1f2ef54d6963d327e07c923280fd96d0 setup: don't use BaseException (introduced in Python 2.5); instead Exception (for compatibility with Python 2.4) Ignore-this: 76033016d61c5a69a06ba9cb37ea148 darcs-hash:944fb235a08050d7d5413c0433ced804ddf26d3e --- diff --git a/zfec/setup.py b/zfec/setup.py index 3936694..5e3b159 100755 --- a/zfec/setup.py +++ b/zfec/setup.py @@ -157,7 +157,7 @@ def _setup(test_suite): test_suite_name=PKG+".test" try: _setup(test_suite=test_suite_name) -except BaseException, le: +except Exception, le: # to work around a bug in Elisa v0.3.5 # https://bugs.launchpad.net/elisa/+bug/263697 if "test_suite must be a list" in str(le):