]> git.ipfire.org Git - thirdparty/git.git/commit
git-p4: removed brackets when assigning multiple return values
authorJoel Holdsworth <jholdsworth@nvidia.com>
Fri, 1 Apr 2022 14:24:52 +0000 (15:24 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Apr 2022 20:15:43 +0000 (13:15 -0700)
commit0874bb016a06703d942092c23922c1e4e2bf5f4a
tree5fdeb84a332dc9e16338edd4e655c3d9c7d63c2a
parent57fe2ce0e1a2cb7bd355b97230a9aa42be7da044
git-p4: removed brackets when assigning multiple return values

In several places, git-p4 contains code of the form:

(a, b) = foo()

In each case, multiple values are returned through a tuple or a list and
bound into multiple values.

The brackets around the assigned variables are redundant and can be
removed:

a, b = foo()

Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py