From 2f456bee7598d7b635b13733665eba665cbfdd44 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 25 May 2011 08:14:39 +0000 Subject: [PATCH] minor beautification --- lib/core/option.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/option.py b/lib/core/option.py index 2efdafc45..bf3d70d4f 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1426,11 +1426,11 @@ def __useWizardInterface(): message = "POST data (--data) [Enter for None]: " conf.data = readInput(message, default=None) - if any(filter(lambda x: '=' in str(x), [conf.url, conf.data])): + if filter(lambda x: '=' in str(x), [conf.url, conf.data]) or '*' in conf.url: break else: conf.url = conf.data = None - warnMsg = "no testable parameter(s) found " + warnMsg = "no testable GET and/or POST parameter(s) found " warnMsg += "(e.g. GET parameter 'id' in 'www.site.com/index.php?id=1')" logger.critical(warnMsg) choice = None