Beispiel #1
0
 def pre(self):
     SciteitController.pre(self)
     require_https()
Beispiel #2
0
 def __call__(self, environ, start_response):
     try:
         return SciteitController.__call__(self, environ, start_response)
     except:
         return handle_awful_failure("something really awful just happened.")
Beispiel #3
0
 def __before__(self):
     try:
         c.error_page = True
         SciteitController.__before__(self)
     except:
         handle_awful_failure("Error occurred in ErrorController.__before__")
Beispiel #4
0
 def __after__(self): 
     try:
         SciteitController.__after__(self)
     except:
         handle_awful_failure("Error occurred in ErrorController.__after__")