small adjustments

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@72 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2007-02-07 14:54:06 +00:00
parent 48a1648e73
commit 91c07f3bfd
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -64,14 +64,14 @@ etpData = entropyTools.extractPkgData(tbz2File)
etpOutput, etpOutfilePath = entropyTools.allocateFile(etpData)
if etpOutfilePath is not None:
print "writing..."+etpOutfilePath
entropyTools.print_info("writing: "+etpOutfilePath)
f = open(etpOutfilePath,"w")
f.writelines(etpOutput)
f.flush()
f.close()
else:
print "not generating a new .etp file, it's not needed"
entropyTools.print_info("not generating a new .etp file, it's not needed")
# clean garbage
os.system("rm -rf "+etpConst['packagestmpdir']+"/"+etpData['name']+"-"+etpData['version'])
-1
View File
@@ -363,7 +363,6 @@ def extractPkgData(package):
# format properly
etpData['rundependencies'] = removeSpaceAtTheEnd(etpData['rundependencies'])
etpData['rundependenciesXT'] = removeSpaceAtTheEnd(etpData['rundependenciesXT'])
# write API info