Commit fcf423e9 authored by Jelmer Vernooij's avatar Jelmer Vernooij

Actually strip tag names from output.

parent 60d1f525
import os
import sys
print("Explicit specify source format.")
if not os.path.exists('debian/source'):
if os.path.exists('debian/source/format'):
......@@ -16,5 +17,4 @@ with open('debian/source/format', 'w') as f:
print("3.0 (native)")
print("3.0 (quilt)")
print("Explicit specify source format.")
print("Fixed-Lintian-Tags: missing-debian-source-format")
......@@ -111,7 +111,7 @@ class ScriptFixer(Fixer):
fixed_tags = line.split(':', 1)[1].strip().split(',')
return FixerResult(description, fixed_tags)
return FixerResult('\n'.join(lines), fixed_tags)
def find_fixers_dir():
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