diff --git a/rhodecode/controllers/error.py b/rhodecode/controllers/error.py --- a/rhodecode/controllers/error.py +++ b/rhodecode/controllers/error.py @@ -87,8 +87,8 @@ class ErrorController(BaseController): return fapp(request.environ, self.start_response) def get_error_explanation(self, code): - ''' get the error explanations of int codes - [400, 401, 403, 404, 500]''' + """ get the error explanations of int codes + [400, 401, 403, 404, 500]""" try: code = int(code) except Exception: