author | Sverre Rabbelier <srabbelier@gmail.com> |
Tue, 24 Feb 2009 20:09:36 +0000 | |
changeset 1488 | 4b7cec48e26c |
parent 1487 | d18c71f4fabe |
child 1489 | e12e08c8b258 |
--- a/app/soc/views/helper/access.py Tue Feb 24 19:54:36 2009 +0000 +++ b/app/soc/views/helper/access.py Tue Feb 24 20:09:36 2009 +0000 @@ -438,13 +438,11 @@ for checker_name, args in checks: try: self.doCheck(checker_name, django_args, args) - break + # one check passed, all is well + return except out_of_band.Error, e: # store the first esception first = first if first else e - else: - # one check passed, all is well - return # none passed, re-raise the first exception raise first