don't use listdir in make_package script

This commit is contained in:
ThomasV 2015-01-25 19:51:09 +01:00
parent ba43053d21
commit d14c03b47f
1 changed files with 1 additions and 1 deletions

View File

@ -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')