summaryrefslogtreecommitdiff
path: root/git-p4.py
diff options
context:
space:
mode:
authorJoel Holdsworth <jholdsworth@nvidia.com>2022-04-01 15:24:56 +0100
committerJunio C Hamano <gitster@pobox.com>2022-04-01 13:15:44 -0700
commit2bcf611088ffcc585b963efcc5c69fb6e819c1b3 (patch)
treed1b3ef8608275e71092fd55609e1641052ba3ac3 /git-p4.py
parent968e29e16bf6ea5565208bf5440f7bcee1be2891 (diff)
downloadgit-2bcf611088ffcc585b963efcc5c69fb6e819c1b3.tar.gz
git-p4: remove spaces between dictionary keys and colons
PEP8 makes no specific recommendation about spaces preceding colons in dictionary declarations, but all the code examples contained with it declare dictionaries with a single space after the colon, and none before. Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-p4.py')
-rwxr-xr-xgit-p4.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/git-p4.py b/git-p4.py
index 471a26744a..167bc19775 100755
--- a/git-p4.py
+++ b/git-p4.py
@@ -4379,13 +4379,13 @@ def printUsage(commands):
commands = {
- "submit" : P4Submit,
- "commit" : P4Submit,
- "sync" : P4Sync,
- "rebase" : P4Rebase,
- "clone" : P4Clone,
- "branches" : P4Branches,
- "unshelve" : P4Unshelve,
+ "submit": P4Submit,
+ "commit": P4Submit,
+ "sync": P4Sync,
+ "rebase": P4Rebase,
+ "clone": P4Clone,
+ "branches": P4Branches,
+ "unshelve": P4Unshelve,
}