ubuntutools/update_maintainer.py: Fix failure if debian/control.in is a

directory.
This commit is contained in:
Benjamin Drung 2010-09-22 15:54:47 +02:00
parent bf9b7ae3b8
commit 65efe55972
2 changed files with 4 additions and 2 deletions

4
debian/changelog vendored
View File

@ -4,6 +4,8 @@ ubuntu-dev-tools (0.103) UNRELEASED; urgency=low
* sponsor-patch: * sponsor-patch:
- Fix NameError: global name 'debdiff_filename' is not defined. - Fix NameError: global name 'debdiff_filename' is not defined.
- Add --workdir parameter to set the working directory. - Add --workdir parameter to set the working directory.
* ubuntutools/update_maintainer.py: Fix failure if debian/control.in is a
directory.
[ Luca Falavigna ] [ Luca Falavigna ]
* debian/control: * debian/control:
@ -33,7 +35,7 @@ ubuntu-dev-tools (0.103) UNRELEASED; urgency=low
* ubuntutools/lp/libsupport.py: Support production API URLs in * ubuntutools/lp/libsupport.py: Support production API URLs in
translate_web_api. translate_web_api.
-- Benjamin Drung <bdrung@ubuntu.com> Tue, 21 Sep 2010 23:52:46 +0200 -- Benjamin Drung <bdrung@ubuntu.com> Wed, 22 Sep 2010 15:52:33 +0200
ubuntu-dev-tools (0.102) experimental; urgency=low ubuntu-dev-tools (0.102) experimental; urgency=low

View File

@ -36,7 +36,7 @@ def update_maintainer(verbose=False):
# Check changelog file exists. # Check changelog file exists.
for location in valid_locations: for location in valid_locations:
if os.path.exists(location): if os.path.isfile(location):
control_file_found = True control_file_found = True
control_file = location control_file = location
break # Stop looking. break # Stop looking.