Fix: "Statement seems to have no effect"

Pylint raises an error on the call:

  print

Change it to:

 print()

Change-Id: I507e1b3dd928fa6c32ea7e86260fb3d7b1428e6f
This commit is contained in:
David Pursehouse
2012-11-14 11:18:00 +09:00
parent cecd1d864f
commit 98ffba1401
2 changed files with 2 additions and 2 deletions

2
repo
View File

@ -338,7 +338,7 @@ def SetupGnuPG(quiet):
if proc.wait() != 0:
print('fatal: registering repo maintainer keys failed', file=sys.stderr)
sys.exit(1)
print
print()
fd = open(os.path.join(home_dot_repo, 'keyring-version'), 'w')
fd.write('.'.join(map(str, KEYRING_VERSION)) + '\n')