diff options
author | Robert Brewer <fumanchu@aminus.org> | 2008-05-31 16:10:16 +0000 |
---|---|---|
committer | Robert Brewer <fumanchu@aminus.org> | 2008-05-31 16:10:16 +0000 |
commit | 45df65b993670c6dbaf6cf17a44496c48a2baefe (patch) | |
tree | 6a11bade260a942b80875b967949f76e04fb4abd | |
parent | cb21ffacfb3ce892b205ab52a26f5edb4f9455e8 (diff) | |
download | cherrypy-45df65b993670c6dbaf6cf17a44496c48a2baefe.tar.gz |
Removed unused 'exc' argument to handle_error.
-rw-r--r-- | cherrypy/_cprequest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cherrypy/_cprequest.py b/cherrypy/_cprequest.py index 2da3e7de..c6cdf315 100644 --- a/cherrypy/_cprequest.py +++ b/cherrypy/_cprequest.py @@ -621,7 +621,7 @@ class Request(object): except: if self.throw_errors: raise - self.handle_error(sys.exc_info()) + self.handle_error() def process_headers(self): """Parse HTTP header data into Python structures. (Core)""" @@ -731,7 +731,7 @@ class Request(object): self.body_params = p = http.params_from_CGI_form(forms) self.params.update(p) - def handle_error(self, exc): + def handle_error(self): """Handle the last unanticipated exception. (Core)""" try: self.hooks.run("before_error_response") |