mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Update package_linter.py
This commit is contained in:
parent
d3609c6b6a
commit
39285a6072
1 changed files with 1 additions and 1 deletions
|
@ -1576,7 +1576,7 @@ class Configurations(TestSuite):
|
||||||
return
|
return
|
||||||
|
|
||||||
for number, line in enumerate(content.split("\n"), 1):
|
for number, line in enumerate(content.split("\n"), 1):
|
||||||
comment = ("#", "//", ";", "/**", "*")
|
comment = ("#", "//", ";", "/*", "*")
|
||||||
if (
|
if (
|
||||||
( "0.0.0.0" in line or "::" in line )
|
( "0.0.0.0" in line or "::" in line )
|
||||||
and not line.strip().startswith(comment)
|
and not line.strip().startswith(comment)
|
||||||
|
|
Loading…
Reference in a new issue