comparison mercurial/hgweb/server.py @ 7280:810ca383da9c

remove unused variables
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 28 Oct 2008 19:25:26 +0100
parents 59b4ae211584
children 1d54e2f6c0b7
comparison
equal deleted inserted replaced
7279:1f0f84660dea 7280:810ca383da9c
64 raise 64 raise
65 65
66 def do_POST(self): 66 def do_POST(self):
67 try: 67 try:
68 self.do_write() 68 self.do_write()
69 except StandardError, inst: 69 except StandardError:
70 self._start_response("500 Internal Server Error", []) 70 self._start_response("500 Internal Server Error", [])
71 self._write("Internal Server Error") 71 self._write("Internal Server Error")
72 tb = "".join(traceback.format_exception(*sys.exc_info())) 72 tb = "".join(traceback.format_exception(*sys.exc_info()))
73 self.log_error("Exception happened during processing request '%s':\n%s", 73 self.log_error("Exception happened during processing request '%s':\n%s",
74 self.path, tb) 74 self.path, tb)