From b816896ebf5892c64c7c64b46721bc8167f59b96 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Fri, 30 Mar 2012 09:19:24 -0400 Subject: [PATCH] do md5 for src --- buildscripts/s3md5.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildscripts/s3md5.py b/buildscripts/s3md5.py index 89800cd6898..3b0d0d82917 100644 --- a/buildscripts/s3md5.py +++ b/buildscripts/s3md5.py @@ -18,7 +18,7 @@ def check_dir( bucket , prefix ): zips = {} md5s = {} for ( key , modify , etag , size ) in bucket.listdir( prefix=prefix ): - if key.endswith( ".tgz" ) or key.endswith( ".zip" ): + if key.endswith( ".tgz" ) or key.endswith( ".zip" ) or key.endswith( ".tar.gz" ): zips[key] = etag.replace( '"' , '' ) elif key.endswith( ".md5" ): md5s[key] = True @@ -40,7 +40,7 @@ def run(): bucket = simples3.S3Bucket( settings.bucket , settings.id , settings.key ) - for x in [ "osx" , "linux" , "win32" , "sunos5" ]: + for x in [ "osx" , "linux" , "win32" , "sunos5" , "src" ]: check_dir( bucket , x )