sponsor-patch: Fix NameError: global name 'debdiff_filename' is not defined.

This commit is contained in:
Benjamin Drung 2010-09-20 15:48:55 +02:00
parent a381fb3cb0
commit 05cbdd858f
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
ubuntu-dev-tools (0.103) UNRELEASED; urgency=low
* sponsor-patch: Fix NameError: global name 'debdiff_filename' is not defined.
-- Benjamin Drung <bdrung@ubuntu.com> Mon, 20 Sep 2010 15:47:19 +0200
ubuntu-dev-tools (0.102) experimental; urgency=low
[ Dustin Kirkland ]

View File

@ -584,7 +584,7 @@ def main(script_name, bug_number, build, edit, keyid, upload, verbose=False):
cmd = ["debdiff", dsc_file, new_dsc_file]
debdiff_name = task.package + "_" + strip_epoch(new_version) + \
".debdiff"
debdiff_file = os.path.join(workdir, debdiff_filename)
debdiff_file = os.path.join(workdir, debdiff_name)
if not verbose:
cmd.insert(1, "-q")
Print.command(cmd + [">", debdiff_file])