Minor update for #1281

This commit is contained in:
Miroslav Stampar 2015-06-29 01:12:14 +02:00
parent 97244f5e5e
commit 8b63ee9bc3

View File

@ -289,7 +289,7 @@ def _feedTargetsDict(reqFile, addedTargetUrls):
line = line.strip('\r') line = line.strip('\r')
match = re.search(r"\A(%s) (.+) HTTP/[\d.]+\Z" % "|".join(getPublicTypeMembers(HTTPMETHOD, True)), line) if not method else None match = re.search(r"\A(%s) (.+) HTTP/[\d.]+\Z" % "|".join(getPublicTypeMembers(HTTPMETHOD, True)), line) if not method else None
if len(line) == 0 and method and method != HTTPMETHOD.GET and data is None: if len(line.strip()) == 0 and method and method != HTTPMETHOD.GET and data is None:
data = "" data = ""
params = True params = True