Commits

dairiki  committed c604a6f

Fix for gpg signing under python 2.6.

(Without this a "NameError: global name 'spawn' is not defined"
exception is raised.)

  • Participants
  • Parent commits 7c4ced6

Comments (0)

Files changed (1)

 # so we have to patch the entire upload_file implementation
 if sys.version_info < (2,7):
     from distutils import log
+    from distutils.spawn import spawn
     from hashlib import md5
     from base64 import standard_b64encode
     import cStringIO as StringIO