app/soc/views/helper/access.py
changeset 2116 68d7679a2af2
parent 2112 9a2c9354468c
child 2145 ea919c2dfe41
equal deleted inserted replaced
2115:fafd021def7e 2116:68d7679a2af2
   456       except out_of_band.Error, exception:
   456       except out_of_band.Error, exception:
   457         # store the first esception
   457         # store the first esception
   458         first = first if first else exception
   458         first = first if first else exception
   459 
   459 
   460     # none passed, re-raise the first exception
   460     # none passed, re-raise the first exception
       
   461     # pylint: disable-msg=W0706
   461     raise first
   462     raise first
   462 
   463 
   463   def allow(self, django_args):
   464   def allow(self, django_args):
   464     """Never raises an alternate HTTP response.  (an access no-op, basically).
   465     """Never raises an alternate HTTP response.  (an access no-op, basically).
   465 
   466