From d13fac5935bb3fe573dc9a79e06b8cffde37712e Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Fri, 2 Dec 2016 08:30:47 +0100 Subject: Fix Pep8 issues related to \ JIRA: FUNCTEST-630 Change-Id: I2b6d3bec67c6fe290fb2ad795a54a2dd2e3c7a0b Signed-off-by: Morgan Richomme --- functest/utils/functest_vacation.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'functest/utils/functest_vacation.py') 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' -- cgit 1.2.3-korg