fix digest generation for --initialize

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@380 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2007-08-03 20:02:05 +00:00
parent 04d152a4e8
commit f845f0c723
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -88,11 +88,11 @@ def database(options):
currCounter += 1
print_info(green(" (")+ blue(str(currCounter))+"/"+red(str(atomsnumber))+green(") ")+red("Analyzing ")+bold(pkg)+red(" ..."))
etpData = reagentTools.extractPkgData(package = etpConst['packagesbindir']+"/"+pkg, structuredLayout = True)
# remove shait
entropyTools.spawnCommand("rm -rf "+etpConst['packagestmpdir']+"/"+pkg)
entropyTools.spawnCommand("rm -rf "+etpConst['packagestmpdir']+"/"+pkg+"*")
# fill the db entry
dbconn.addPackage(etpData)
idpk, revision, etpDataUpdated, accepted = dbconn.addPackage(etpData)
dbconn.commitChanges()
dbconn.closeDB()