two exec fixes
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@496 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -76,7 +76,7 @@ def database(options):
|
||||
|
||||
# now fill the database
|
||||
pkgbranches = os.listdir(etpConst['packagesbindir'])
|
||||
pkgbranches = [x for x if os.path.isdir(x)]
|
||||
pkgbranches = [x for x in pkgbranches if os.path.isdir(x)]
|
||||
|
||||
for mybranch in pkgbranches:
|
||||
|
||||
@@ -97,7 +97,7 @@ def database(options):
|
||||
print_info(darkgreen(" [")+red(mybranch)+darkgreen("] ")+red("Analyzing: ")+bold(pkg), back = True)
|
||||
currCounter += 1
|
||||
print_info(darkgreen(" [")+red(mybranch)+darkgreen("] ")+green(" (")+ blue(str(currCounter))+"/"+red(str(atomsnumber))+green(") ")+red("Analyzing ")+bold(pkg)+red(" ..."))
|
||||
etpData = reagentTools.extractPkgData(package = etpConst['packagesbindir']+"/"+mybranch+"/"+pkg, mybranch)
|
||||
etpData = reagentTools.extractPkgData(etpConst['packagesbindir']+"/"+mybranch+"/"+pkg, mybranch)
|
||||
# remove shait
|
||||
entropyTools.spawnCommand("rm -rf "+etpConst['packagestmpdir']+"/"+pkg+"*")
|
||||
# fill the db entry
|
||||
|
||||
Reference in New Issue
Block a user