Merge pull request #104 from anarcat/incorrect-warn

fix incorrect call to the logging module (Closes: #847208)
This commit is contained in:
anarcat 2017-11-06 21:46:11 -05:00 committed by GitHub
commit 9838ef78e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,10 +71,10 @@ class FormFinder(object):
value = attrs.get('value')
self.form.add_value(key, value)
else:
log.warning(LOG_CHECK, "nameless form input %s" % attrs)
log.warn(LOG_CHECK, "nameless form input %s" % attrs)
pass
else:
log.warning(LOG_CHECK, "formless input´%s" % attrs)
log.warn(LOG_CHECK, "formless input´%s" % attrs)
pass
def start_end_element(self, tag, attrs):