Ejemplo n.º 1
0
 def pre(self):
     SciteitController.pre(self)
     require_https()
Ejemplo n.º 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.")
Ejemplo n.º 3
0
 def __before__(self):
     try:
         c.error_page = True
         SciteitController.__before__(self)
     except:
         handle_awful_failure("Error occurred in ErrorController.__before__")
Ejemplo n.º 4
0
 def __after__(self): 
     try:
         SciteitController.__after__(self)
     except:
         handle_awful_failure("Error occurred in ErrorController.__after__")