hgweb: removed unnecessary del before function return
Deleting tmpl just before the return statement should have no effect
since tmpl goes out of scope anyway. But it confuses pyflakes who
thinks tmpl is undefined when it is used in the except blocks below.
--- a/mercurial/hgweb/hgweb_mod.py Sat Aug 16 14:46:56 2008 +0200
+++ b/mercurial/hgweb/hgweb_mod.py Sat Aug 16 16:32:57 2008 +0200
@@ -168,7 +168,6 @@
req.respond(HTTP_OK, ctype)
req.write(content)
- del tmpl
return []
except revlog.LookupError, err: