mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 01:14:21 +01:00
fix html validator test for python 3
This commit is contained in:
parent
05aace0e9d
commit
263e6be547
@ -90,7 +90,7 @@ def htmlvalidator(page):
|
|||||||
f.close()
|
f.close()
|
||||||
stdout.close()
|
stdout.close()
|
||||||
print(out)
|
print(out)
|
||||||
if not re.search(r'Error:.*', out) is None:
|
if not re.search(r'Error:.*', str(out)) is None:
|
||||||
raise HtmlValidationFailed(out)
|
raise HtmlValidationFailed(out)
|
||||||
|
|
||||||
class BadModule():
|
class BadModule():
|
||||||
|
Loading…
Reference in New Issue
Block a user