update-maintainer: Also check if package is in experimental when looking

who to update maintainer to.
This commit is contained in:
Iain Lane 2009-09-24 12:36:26 +01:00
parent dac4145893
commit d281ff0428
2 changed files with 4 additions and 2 deletions

4
debian/changelog vendored
View File

@ -6,8 +6,10 @@ ubuntu-dev-tools (0.80) UNRELEASED; urgency=low
[ Iain Lane ]
* requestsync: Give an error message if no changelog entries - happens if,
for example, the new package's changelog hasn't yet been published on p.d.o
* update-maintainer: Also check if package is in experimental when looking
who to update maintainer to.
-- Iain Lane <laney@ubuntu.com> Mon, 21 Sep 2009 00:41:03 +0100
-- Iain Lane <laney@ubuntu.com> Thu, 24 Sep 2009 12:35:28 +0100
ubuntu-dev-tools (0.79) karmic; urgency=low

View File

@ -76,7 +76,7 @@ if 'Ubuntu Developers' in maintainer_name and \
print "Ubuntu Developers is already set as maintainer."
sys.exit(0)
if not ubuntutools.packages.checkIsInDebian(package_name, 'unstable'):
if not (ubuntutools.packages.checkIsInDebian(package_name, 'unstable') or ubuntutools.packages.checkIsInDebian(package_name, 'experimental')):
user_email_address = os.getenv('DEBEMAIL')
if not user_email_address:
user_email_address = os.getenv('EMAIL')