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 /project.py | |
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 'project.py')
-rw-r--r-- | project.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -360,7 +360,7 @@ class RepoHook(object): | |||
360 | '(yes/yes-never-ask-again/NO)? ') % ( | 360 | '(yes/yes-never-ask-again/NO)? ') % ( |
361 | self._GetMustVerb(), self._script_fullpath) | 361 | self._GetMustVerb(), self._script_fullpath) |
362 | response = raw_input(prompt).lower() | 362 | response = raw_input(prompt).lower() |
363 | 363 | print() | |
364 | 364 | ||
365 | # User is doing a one-time approval. | 365 | # User is doing a one-time approval. |
366 | if response in ('y', 'yes'): | 366 | if response in ('y', 'yes'): |