Fix the default step when using STEP=1 while testing

Change-Id: I6b2950dfd0d9023b20e24845b3bce20cf4ba66df
Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
This commit is contained in:
juraj.linkes
2018-08-28 18:45:18 +02:00
committed by Damjan Marion
parent 149d0e2813
commit be460e72d5

View File

@@ -182,7 +182,7 @@ class StepHook(PollHook):
while True:
print("Enter your choice, if any, and press ENTER to continue "
"running the testcase...")
choice = sys.stdin.readline()
choice = sys.stdin.readline().rstrip('\r\n')
if choice == "":
choice = None
try: