cosmetics

This commit is contained in:
Miroslav Stampar 2010-11-05 16:08:42 +00:00
parent 9bc9302e58
commit 06760182f1
2 changed files with 4 additions and 2 deletions

View File

@ -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"):

View File

@ -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))