From 06760182f1eb82712c01555b5eddb0b5e78f1abb Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 5 Nov 2010 16:08:42 +0000 Subject: [PATCH] cosmetics --- lib/controller/controller.py | 4 ++-- lib/core/common.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/controller/controller.py b/lib/controller/controller.py index d46fb199b..3c1950f58 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -304,10 +304,10 @@ def start(): except KeyboardInterrupt: if conf.multipleTargets: - warnMsg = "Ctrl+C detected" + warnMsg = "Ctrl+C detected in multiple target mode" logger.warn(warnMsg) - message = "\ndo you want to skip to the next target in list [Y/n/q]" + message = "do you want to skip to the next target in list [Y/n/q]" test = readInput(message, default="Y") if not test or test[0] in ("y", "Y"): diff --git a/lib/core/common.py b/lib/core/common.py index 3013d95b2..fb1ff7cfd 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -475,6 +475,8 @@ def readInput(message, default=None): if "\n" in message: message += "\n> " + elif message[-1] == ']': + message += " " if conf.batch and default: infoMsg = "%s%s" % (message, getUnicode(default))