Fixed bug introduced by fixing a pylint error
authorSverre Rabbelier <srabbelier@gmail.com>
Mon, 06 Apr 2009 22:53:47 +0000
changeset 2101 d6250eac3ab0
parent 2100 601c69a8976d
child 2102 5bc22dd22ecb
Fixed bug introduced by fixing a pylint error Here first was very much intentionally set to None, as later on we check if it is none in an 'first if first else exception' statement. Patch by: Sverre Rabbelier
app/soc/views/helper/access.py
--- a/app/soc/views/helper/access.py	Mon Apr 06 22:02:16 2009 +0000
+++ b/app/soc/views/helper/access.py	Mon Apr 06 22:53:47 2009 +0000
@@ -445,7 +445,7 @@
     checks raised is reraised.
     """
 
-    first = Exception()
+    first = None
 
     for checker_name, args in checks:
       try: