contrib/setup3k.py
changeset 16689 f366d4c2ff34
parent 16688 cfb6682961b8
--- a/contrib/setup3k.py	Sat May 12 16:02:45 2012 +0200
+++ b/contrib/setup3k.py	Sat May 12 16:02:46 2012 +0200
@@ -84,7 +84,7 @@
             os.dup2(devnull.fileno(), sys.stderr.fileno())
             objects = cc.compile([fname], output_dir=tmpdir)
             cc.link_executable(objects, os.path.join(tmpdir, "a.out"))
-        except:
+        except Exception:
             return False
         return True
     finally: