fix incorrect call to the logging module (Closes: #847208)

This commit is contained in:
Antoine Beaupré 2017-11-03 09:47:01 -04:00
parent 17bd5f5e89
commit 71be9b941b
No known key found for this signature in database
GPG key ID: 3EA1DDDDB261D97B

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