don't use listdir in make_package script
This commit is contained in:
parent
ba43053d21
commit
d14c03b47f
|
@ -25,7 +25,7 @@ if __name__ == '__main__':
|
|||
|
||||
os.chdir("dist")
|
||||
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) )
|
||||
|
||||
md5_tgz = hashlib.md5(file(_tgz, 'r').read()).digest().encode('hex')
|
||||
|
|
Loading…
Reference in New Issue