##// END OF EJS Templates
hgweb: delete a local variable instead of setting to `None`...
Matt Harbison -
r44445:873d0fec default
parent child Browse files
Show More
@@ -77,7 +77,7 b' def launch(application):'
77 # Re-raise original exception if headers sent
77 # Re-raise original exception if headers sent
78 raise exc_info[0](exc_info[1], exc_info[2])
78 raise exc_info[0](exc_info[1], exc_info[2])
79 finally:
79 finally:
80 exc_info = None # avoid dangling circular ref
80 del exc_info # avoid dangling circular ref
81 elif headers_set:
81 elif headers_set:
82 raise AssertionError(b"Headers already set!")
82 raise AssertionError(b"Headers already set!")
83
83
General Comments 0
You need to be logged in to leave comments. Login now