Fix: "Statement seems to have no effect"
Pylint raises an error on the call:
print
Change it to:
print()
Change-Id: I507e1b3dd928fa6c32ea7e86260fb3d7b1428e6f
diff --git a/project.py b/project.py
index 20a8dca..22ac9ef 100644
--- a/project.py
+++ b/project.py
@@ -360,7 +360,7 @@
'(yes/yes-never-ask-again/NO)? ') % (
self._GetMustVerb(), self._script_fullpath)
response = raw_input(prompt).lower()
- print
+ print()
# User is doing a one-time approval.
if response in ('y', 'yes'):
diff --git a/repo b/repo
index 9fcfc1b..4d8e8dc 100755
--- a/repo
+++ b/repo
@@ -338,7 +338,7 @@
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')