Browse Source

don't use listdir in make_package script

283
ThomasV 10 years ago
parent
commit
d14c03b47f
  1. 2
      contrib/make_packages

2
contrib/make_packages

@ -25,7 +25,7 @@ if __name__ == '__main__':
os.chdir("dist") os.chdir("dist")
password = getpass.getpass("Password:") password = getpass.getpass("Password:")
for f in os.listdir("."): for f in [_tgz,_zip]:
os.system( "gpg --sign --armor --detach --passphrase \"%s\" %s"%(password, f) ) os.system( "gpg --sign --armor --detach --passphrase \"%s\" %s"%(password, f) )
md5_tgz = hashlib.md5(file(_tgz, 'r').read()).digest().encode('hex') md5_tgz = hashlib.md5(file(_tgz, 'r').read()).digest().encode('hex')

Loading…
Cancel
Save