web/test/unittest_viewselector.py
branchstable
changeset 7815 2a164a9cf81c
parent 7244 a918f76441ce
child 7840 d6733436b0dd
--- 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