update_maintainer.py: Process control.in first.

This commit is contained in:
Benjamin Drung 2011-01-25 22:09:15 +01:00
parent bc3e647fc3
commit 526b7e63c6
2 changed files with 3 additions and 2 deletions

3
debian/changelog vendored
View File

@ -12,8 +12,9 @@ ubuntu-dev-tools (0.114) UNRELEASED; urgency=low
[ Benjamin Drung ]
* wrap-and-sort: Add option to use on individual file (LP: #699696).
* update_maintainer.py: Process control.in first.
-- Benjamin Drung <bdrung@debian.org> Tue, 25 Jan 2011 21:52:55 +0100
-- Benjamin Drung <bdrung@debian.org> Tue, 25 Jan 2011 22:08:49 +0100
ubuntu-dev-tools (0.113) unstable; urgency=low

View File

@ -47,7 +47,7 @@ def update_maintainer(debian_directory, verbose=False):
Policy: https://wiki.ubuntu.com/DebianMaintainerField
"""
possible_contol_files = [os.path.join(debian_directory, f) for
f in ["control", "control.in"]]
f in ["control.in", "control"]]
changelog_file = os.path.join(debian_directory, "changelog")
control_files = [f for f in possible_contol_files if os.path.isfile(f)]