]> granicus.if.org Git - python/commitdiff
Make the signature detached.
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 22 Mar 2005 23:02:54 +0000 (23:02 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 22 Mar 2005 23:02:54 +0000 (23:02 +0000)
Lib/distutils/command/upload.py

index a62da78a02e9a89d546b2c274959018906223145..6a4e3b3332313c8d95efd380f0e476b99e7b81ea 100644 (file)
@@ -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