Commits

Frédéric Lespez committed bb7e5f6 Draft

Fix _proceed() that was failing if you just type ENTER

Comments (0)

Files changed (1)

 
 def _proceed(msg):
     print("Warning: %s" % msg)
-    proceed = preset.proceed or raw_input("Proceed [y/N]: ")
+    proceed = preset.proceed or raw_input("Proceed [y/N]: ") or "n"
     if proceed.strip()[0].lower() != "y":
         _exit(2)