mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-12 09:21:29 +00:00
* update-maintainer:
- Don't silently fail when Maintainer-Field contains a comment in brackets. (LP: #397144)
This commit is contained in:
parent
9c4a6b0988
commit
89e8d69cbe
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,8 +1,11 @@
|
|||||||
ubuntu-dev-tools (0.76) UNRELEASED; urgency=low
|
ubuntu-dev-tools (0.76) UNRELEASED; urgency=low
|
||||||
|
|
||||||
*
|
[ Andreas Moog ]
|
||||||
|
* update-maintainer:
|
||||||
|
- Don't silently fail when Maintainer-Field contains a comment
|
||||||
|
in brackets. (LP: #397144)
|
||||||
|
|
||||||
-- Michael Bienia <geser@ubuntu.com> Mon, 06 Jul 2009 17:54:24 +0200
|
-- Andreas Moog <amoog@ubuntu.com> Wed, 08 Jul 2009 21:23:24 +0200
|
||||||
|
|
||||||
ubuntu-dev-tools (0.75) karmic; urgency=low
|
ubuntu-dev-tools (0.75) karmic; urgency=low
|
||||||
|
|
||||||
|
@ -95,5 +95,5 @@ print "Resetting as: " + target_maintainer
|
|||||||
|
|
||||||
# Replace text.
|
# Replace text.
|
||||||
debian_control_file = open(control_file, "w")
|
debian_control_file = open(control_file, "w")
|
||||||
debian_control_file.write(re.sub(original_maintainer, final_addition, file_contents))
|
debian_control_file.write(re.sub(re.escape(original_maintainer), final_addition, file_contents))
|
||||||
debian_control_file.close()
|
debian_control_file.close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user