diff options
author | 2010-08-01 14:16:35 +0200 | |
---|---|---|
committer | 2010-08-01 14:22:00 +0200 | |
commit | 9a97d352f42fd439284868847577ef8d4d26802f (patch) | |
tree | 74faabde5a29141d1d183e2bb9198ad796a0226b | |
parent | Get exit status right; exec PMS phases (diff) | |
download | g-cran-9a97d352f42fd439284868847577ef8d4d26802f.tar.gz g-cran-9a97d352f42fd439284868847577ef8d4d26802f.tar.bz2 g-cran-9a97d352f42fd439284868847577ef8d4d26802f.zip |
Fix Manifest generation: forgot filesize field
-rw-r--r-- | g_common/g_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g_common/g_common.py b/g_common/g_common.py index 851a656..d9ca599 100644 --- a/g_common/g_common.py +++ b/g_common/g_common.py @@ -84,7 +84,7 @@ def generate_tree(repo_location): ebuild_file=settings.COMMON_EBUILD_FILE #get from settings import hashlib ebuild_digest=hashlib.sha1(open(ebuild_file).read()).hexdigest() - Manifest="EBUILD %s SHA1 "+ebuild_digest + Manifest="EBUILD %s "+str(os.path.getsize(ebuild_file))+" SHA1 "+ebuild_digest packages_list_pipe=subprocess.Popen(driver_conf['exec']+' '+repo_location+' list-packages',shell=True,stdout=subprocess.PIPE) os.waitpid(packages_list_pipe.pid,0) |