--- a/web/test/unittest_viewselector.py Tue Sep 20 15:14:04 2011 +0200
+++ b/web/test/unittest_viewselector.py Wed Sep 21 17:38:00 2011 +0200
@@ -76,7 +76,7 @@
return
try:
self.assertSetEqual(content.keys(), expected)
- except:
+ except Exception:
print registry, sorted(expected), sorted(content.keys())
print 'no more', [v for v in expected if not v in content.keys()]
print 'missing', [v for v in content.keys() if not v in expected]
@@ -468,7 +468,7 @@
try:
obj = self.vreg['views'].select(vid, req, rset=rset, **args)
return obj.render(**args)
- except:
+ except Exception:
print vid, rset, args
raise