mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
repo: Remove unused variable in 'except'
Change-Id: I90f89ed6638a3d2a9e665ebbedef5dd7902f5429 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254695 Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: David Pursehouse <dpursehouse@collab.net>
This commit is contained in:
parent
31b9b4b06c
commit
22dbfb99e5
2
repo
2
repo
@ -558,7 +558,7 @@ def SetupGnuPG(quiet):
|
|||||||
proc = subprocess.Popen(cmd,
|
proc = subprocess.Popen(cmd,
|
||||||
env=env,
|
env=env,
|
||||||
stdin=subprocess.PIPE)
|
stdin=subprocess.PIPE)
|
||||||
except OSError as e:
|
except OSError:
|
||||||
if not quiet:
|
if not quiet:
|
||||||
print('warning: gpg (GnuPG) is not available.', file=sys.stderr)
|
print('warning: gpg (GnuPG) is not available.', file=sys.stderr)
|
||||||
print('warning: Installing it is strongly encouraged.', file=sys.stderr)
|
print('warning: Installing it is strongly encouraged.', file=sys.stderr)
|
||||||
|
Loading…
Reference in New Issue
Block a user