git p4: remove unneeded cmd initialization

It confuses pylint, and is never needed.

Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Pete Wyckoff 2012-11-23 17:35:39 -05:00 committed by Junio C Hamano
parent a4e9054cfb
commit 73350fb6aa

View File

@ -3188,7 +3188,6 @@ def main():
printUsage(commands.keys())
sys.exit(2)
cmd = ""
cmdName = sys.argv[1]
try:
klass = commands[cmdName]