mercurial/hgweb/hgweb_mod.py
branchstable
changeset 22506 6e1fbcb18a75
parent 22087 af62f0280a76
child 22560 4109cc16279e
child 22577 a111e460318a
--- a/mercurial/hgweb/hgweb_mod.py	Wed Sep 24 15:52:40 2014 +0900
+++ b/mercurial/hgweb/hgweb_mod.py	Mon Sep 22 23:46:38 2014 +0900
@@ -200,8 +200,6 @@
             # avoid accepting e.g. style parameter as command
             if util.safehasattr(webcommands, cmd):
                 req.form['cmd'] = [cmd]
-            else:
-                cmd = ''
 
             if cmd == 'static':
                 req.form['file'] = ['/'.join(args)]