Verified Commit ab170cd4 authored by Baptiste Beauplat's avatar Baptiste Beauplat
Browse files

Ignore lintian M: (mask) severity (Closes: #141)

parent 3ff153fb
...@@ -101,6 +101,12 @@ class PluginLintian(BasePlugin): ...@@ -101,6 +101,12 @@ class PluginLintian(BasePlugin):
override_comments.append(tag[3:].strip()) override_comments.append(tag[3:].strip())
continue continue
# Skip mask severity
if tag.startswith("M: "):
# Drop associated N:
override_comments.pop()
continue
severity, package, rest = tag.split(': ', 2) severity, package, rest = tag.split(': ', 2)
lintian_severities.add(severity) lintian_severities.add(severity)
lintian_tag_data = rest.split() lintian_tag_data = rest.split()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment