aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils/functest_vacation.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-12-05 14:44:51 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-05 14:44:51 +0000
commit4d8205412586812dc9523988aad66cf9e000e31e (patch)
tree198f4976bb1f0263e41cb1a1cd9d4db4439914c3 /functest/utils/functest_vacation.py
parent122445d0b7b3836a3617905ab1c293412983c394 (diff)
parentd13fac5935bb3fe573dc9a79e06b8cffde37712e (diff)
Merge "Fix Pep8 issues related to \"
Diffstat (limited to 'functest/utils/functest_vacation.py')
-rw-r--r--functest/utils/functest_vacation.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/functest/utils/functest_vacation.py b/functest/utils/functest_vacation.py
index 6c7312fa..c2e40b07 100644
--- a/functest/utils/functest_vacation.py
+++ b/functest/utils/functest_vacation.py
@@ -1,6 +1,6 @@
from os import environ
-from curses import initscr, curs_set, newwin, endwin,\
- KEY_RIGHT, KEY_LEFT, KEY_DOWN, KEY_UP
+from curses import initscr, curs_set, newwin, endwin
+from curses import KEY_RIGHT, KEY_LEFT, KEY_DOWN, KEY_UP
from random import randrange
@@ -48,6 +48,6 @@ def main():
print '\nSnake.PY-26lines by Kris Cieslak (defaultset.blogspot.com).'
print 'OPNFV adaptation by Functest dream team.'
- print 'Thanks for playing, your score: ' + \
- str(len(snake) - len(body) - 1) + '.'
+ score = str(len(snake) - len(body) - 1)
+ print ('Thanks for playing, your score: %s.' % score)
print 'Find and fix more bugs in your real OPNFV setup!\n'