small adjustments
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@72 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -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'])
|
||||
@@ -363,7 +363,6 @@ def extractPkgData(package):
|
||||
|
||||
# format properly
|
||||
etpData['rundependencies'] = removeSpaceAtTheEnd(etpData['rundependencies'])
|
||||
|
||||
etpData['rundependenciesXT'] = removeSpaceAtTheEnd(etpData['rundependenciesXT'])
|
||||
|
||||
# write API info
|
||||
|
||||
Reference in New Issue
Block a user