mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Merge pull request #133 from YunoHost/OniriCorpe-patch-1
This commit is contained in:
commit
a76822b39c
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