X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fmake_maintainers.py;h=913537500c47688e8cbe53275f8c69d45fd63e8b;hb=b4d6a315bab631c560b3a993282c4e182650e728;hp=679ed22367ce62e3a8229fd81d9d89202853ba00;hpb=0952a111218688c6b3c29c7d25a94b526699ecfb;p=dak.git diff --git a/dak/make_maintainers.py b/dak/make_maintainers.py index 679ed223..91353750 100755 --- a/dak/make_maintainers.py +++ b/dak/make_maintainers.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Generate Maintainers file used by e.g. the Debian Bug Tracking System +""" Generate Maintainers file used by e.g. the Debian Bug Tracking System """ # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006 James Troup # This program is free software; you can redistribute it and/or modify @@ -29,6 +29,7 @@ import pg, sys import apt_pkg from daklib import database from daklib import utils +from daklib.regexes import re_comments ################################################################################ @@ -132,7 +133,7 @@ def main(): for filename in extra_files: extrafile = utils.open_file(filename) for line in extrafile.readlines(): - line = utils.re_comments.sub('', line).strip() + line = re_comments.sub('', line).strip() if line == "": continue split = line.split()