syncpackage: Set DEB_VENDOR=Ubuntu when fakesyncing, so fakesyncs prepared on a Debian host can close LP bugs

This commit is contained in:
Stefano Rivera 2010-08-01 20:03:49 +02:00
parent 79fdd2dccb
commit 896b1780b4

View File

@ -283,7 +283,8 @@ def sync_dsc(script_name, dscurl, debian_dist, release, name, email, bugs, keyid
cmd += ["-q"]
if verbose:
print_command(script_name, cmd + [">", "../" + changes_file])
changes = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0]
changes = subprocess.Popen(cmd, stdout=subprocess.PIPE,
env={"DEB_VENDOR": "Ubuntu"}).communicate()[0]
# Add additional bug numbers
if len(bugs) > 0: