do some fixes on equo database generate

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@440 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2007-08-11 18:40:22 +00:00
parent 564964807c
commit ea76618d3f
2 changed files with 4 additions and 1 deletions

View File

@@ -129,6 +129,8 @@ try:
sys.exit(0)
except SystemExit:
pass
except KeyboardInterrupt:
pass
except:
from entropyTools import askquestion
from remoteTools import getOnlineContent, reportApplicationError

View File

@@ -1723,7 +1723,8 @@ def database(options):
notmatchingstatus = ''
if len(missingPackages) > 0:
f = open("/tmp/equo-not-matching.txt","w")
f.writelines(missingPackages)
for x in missingPackages:
f.write(x+"\n")
f.flush()
f.close()
notmatchingstatus = " [wrote: /tmp/equo-not-matching.txt]"