From: Martin v. Löwis Date: Tue, 22 Mar 2005 23:02:54 +0000 (+0000) Subject: Make the signature detached. X-Git-Tag: v2.5a0~1888 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d121589910094ea9cf99fcbaf899108429527be;p=python Make the signature detached. --- diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py index a62da78a02..6a4e3b3332 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