diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-11-14 11:18:00 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-11-14 11:38:57 +0900 |
commit | 98ffba1401056e2d88d3f3898b6fbf5d7d3931a4 (patch) | |
tree | 7a39e4d55327bd186b66baf91e9cfed3d8a80c66 /repo | |
parent | cecd1d864fc3cf02cf50d367111e0d0e173c5dc6 (diff) | |
download | git-repo-98ffba1401056e2d88d3f3898b6fbf5d7d3931a4.tar.gz |
Fix: "Statement seems to have no effect"
Pylint raises an error on the call:
print
Change it to:
print()
Change-Id: I507e1b3dd928fa6c32ea7e86260fb3d7b1428e6f
Diffstat (limited to 'repo')
-rwxr-xr-x | repo | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -338,7 +338,7 @@ def SetupGnuPG(quiet): | |||
338 | if proc.wait() != 0: | 338 | if proc.wait() != 0: |
339 | print('fatal: registering repo maintainer keys failed', file=sys.stderr) | 339 | print('fatal: registering repo maintainer keys failed', file=sys.stderr) |
340 | sys.exit(1) | 340 | sys.exit(1) |
341 | 341 | print() | |
342 | 342 | ||
343 | fd = open(os.path.join(home_dot_repo, 'keyring-version'), 'w') | 343 | fd = open(os.path.join(home_dot_repo, 'keyring-version'), 'w') |
344 | fd.write('.'.join(map(str, KEYRING_VERSION)) + '\n') | 344 | fd.write('.'.join(map(str, KEYRING_VERSION)) + '\n') |