Пример #1
0
 def __call__(self, environ, start_response):
     try:
         return RedditController.__call__(self, environ, start_response)
     except Exception as e:
         return handle_awful_failure("ErrorController.__call__: %r" % e)
Пример #2
0
 def __call__(self, environ, start_response):
     try:
         return RedditController.__call__(self, environ, start_response)
     except Exception as e:
         return handle_awful_failure("ErrorController.__call__: %r" % e)
Пример #3
0
 def __call__(self, environ, start_response):
     try:
         return RedditController.__call__(self, environ, start_response)
     except:
         return handle_awful_failure("something really awful just happened.")
Пример #4
0
 def __call__(self, environ, start_response):
     try:
         return RedditController.__call__(self, environ, start_response)
     except:
         return handle_awful_failure(
             "something really awful just happened.")