[avbin commit] r39 - trunk/upload

0 views
Skip to first unread message

codesite...@google.com

unread,
Jun 5, 2008, 5:26:22 AM6/5/08
to avbin-...@googlegroups.com
Author: Alex.Holkner
Date: Thu Jun 5 02:25:09 2008
New Revision: 39

Modified:
trunk/upload/upload.py

Log:
Minor improvements to upload script


Modified: trunk/upload/upload.py
==============================================================================
--- trunk/upload/upload.py (original)
+++ trunk/upload/upload.py Thu Jun 5 02:25:09 2008
@@ -16,6 +16,7 @@

if __name__ == '__main__':
password = open(os.path.expanduser('~/.googlecode-passwd')).read().strip()
+ version = open(os.path.join(base, '..', 'VERSION')).read().strip()

descriptions = {}
for line in open(os.path.join(base, 'descriptions.txt')):
@@ -24,6 +25,10 @@

files = {}
for filename in os.listdir(dist):
+ if not os.path.isfile(os.path.join(dist, filename)):
+ continue
+ if version not in filename:
+ continue
for prefix in descriptions:
if filename.startswith(prefix):
description = descriptions[prefix]

Reply all
Reply to author
Forward
0 new messages