syncpackage: Don't upload orig tarball if not needed.

This commit is contained in:
Benjamin Drung 2010-08-14 18:20:46 +02:00
parent fa0942f136
commit 6828ae2e8c
2 changed files with 5 additions and 2 deletions

3
debian/changelog vendored
View File

@ -11,8 +11,9 @@ ubuntu-dev-tools (0.102) UNRELEASED; urgency=low
* suspicious-source: whitelist font source formats. Thanks to Nicolas
Spalinger for the patch (LP: #365147).
* Update the man page of suspicious-source to match the rewrite.
* syncpackage: Don't upload orig tarball if not needed.
-- Benjamin Drung <bdrung@ubuntu.com> Thu, 12 Aug 2010 01:11:45 +0200
-- Benjamin Drung <bdrung@ubuntu.com> Sat, 14 Aug 2010 18:19:53 +0200
ubuntu-dev-tools (0.101) unstable; urgency=low

View File

@ -278,7 +278,9 @@ def sync_dsc(script_name, dscurl, debian_dist, release, name, email, bugs, keyid
"-DOrigin=debian/" + debian_dist,
"-e" + uploader]
if need_orig:
cmd += ['-sa']
cmd.append("-sa")
else:
cmd.append("-sd")
if not verbose:
cmd += ["-q"]
if verbose: