Source: dput
Version: 1.0.1
Severity: wishlist
Tags: patch
Hi,
Please suggest the use of --force if package has already been
uploaded.
Patch attached.
Best wishes,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/dput/dput.py b/dput/dput.py
index d21a6f7..a407020 100755
--- a/dput/dput.py
+++ b/dput/dput.py
@@ -774,7 +774,8 @@ def check_upload_logfile(
uploaded = 1
if uploaded:
sys.stdout.write(
- "Package has already been uploaded to %s on %s\n"
+ "Package has already been uploaded to %s on %s"
+ " (use --force to override)\n"
% (host, fqdn))
sys.stdout.write("Nothing more to do for %s\n" % changes_file)
sys.exit(0)