Esempio n. 1
0
 def check(self, object, name):
     'See IChecker'
     try:
         Checker.check(self, object, name)
     except ForbiddenAttribute:
         self._checker2.check(object, name)
     except Unauthorized as unauthorized_exception:
         try: self._checker2.check(object, name)
         except ForbiddenAttribute:
             raise unauthorized_exception