summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Pete Wyckoff <pw@padd.com>2012-11-23 17:35:39 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-11-26 11:01:31 -0800
commit73350fb6aa7d0caf6c0e3ab06b73771b282de39d (patch)
treeac8e4f1d0d9f3505596eadd447f8af94e9ae2de4
parentgit p4: fix labelDetails typo in exception (diff)
downloadtgif-73350fb6aa7d0caf6c0e3ab06b73771b282de39d.tar.xz
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>
-rwxr-xr-xgit-p4.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/git-p4.py b/git-p4.py
index 9712082a4f..551aec9417 100755
--- a/git-p4.py
+++ b/git-p4.py
@@ -3188,7 +3188,6 @@ def main():
printUsage(commands.keys())
sys.exit(2)
- cmd = ""
cmdName = sys.argv[1]
try:
klass = commands[cmdName]