Correct a SyntaxError

modified:   interface/ri_inst_cli.py
This commit is contained in:
Peng Zhihui
2014-02-25 09:01:17 +08:00
parent 3236edd370
commit 1b3752a356

View File

@@ -36,7 +36,7 @@ def set_task_over():
print 'The system will reboot in 10 seconds ......'
time.sleep(10)
return True
else
else:
string = raw_input("Rocky system installation successfully, do you want to reboot?[Y/n]")
if string.lower() == "y" or string == "":
return True