summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/distutils/command/upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py
index a62da78..6a4e3b3 100644
--- a/Lib/distutils/command/upload.py
+++ b/Lib/distutils/command/upload.py
@@ -67,7 +67,7 @@ class upload(Command):
def upload_file(self, command, filename):
# Sign if requested
if self.sign:
- spawn(("gpg", "--sign", "-a", filename),
+ spawn(("gpg", "--detach-sign", "-a", filename),
dry_run=self.dry_run)
# Fill in the data