From 1b3752a3563d8c4649d44434cd757456bda91974 Mon Sep 17 00:00:00 2001 From: Peng Zhihui Date: Tue, 25 Feb 2014 09:01:17 +0800 Subject: [PATCH] Correct a SyntaxError modified: interface/ri_inst_cli.py --- interface/ri_inst_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/ri_inst_cli.py b/interface/ri_inst_cli.py index 9643172..00cd1ad 100644 --- a/interface/ri_inst_cli.py +++ b/interface/ri_inst_cli.py @@ -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