Commit aece643c authored by Jelmer Vernooij's avatar Jelmer Vernooij

Add priority-extra-is-replaced-by-priority-optional fixer.

parent 3d51db32
#!/usr/bin/python3
from lintian_brush.control import update_control
def fix_priority(control):
if control.get("Priority") == "optional":
control["Priority"] = "extra"
update_control(binary_package_cb=fix_priority, source_package_cb=fix_priority)
print("Change priority optional to priority extra.")
Markdown is supported
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