From 05cbdd858fd24d3ce88e163488fd88edc1031af1 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Mon, 20 Sep 2010 15:48:55 +0200 Subject: [PATCH] sponsor-patch: Fix NameError: global name 'debdiff_filename' is not defined. --- debian/changelog | 6 ++++++ sponsor-patch | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 6b687a6..c979306 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 20 Sep 2010 15:47:19 +0200 + ubuntu-dev-tools (0.102) experimental; urgency=low [ Dustin Kirkland ] diff --git a/sponsor-patch b/sponsor-patch index a98c742..5939008 100755 --- a/sponsor-patch +++ b/sponsor-patch @@ -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])