From: Joel Holdsworth Date: Fri, 1 Apr 2022 14:24:56 +0000 (+0100) Subject: git-p4: remove spaces between dictionary keys and colons X-Git-Tag: v2.37.0-rc0~101^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bcf611088ffcc585b963efcc5c69fb6e819c1b3;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- 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, }