- strengthen noclientdb behaviour

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1033 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-01-11 19:47:25 +00:00
parent 0d1b9f4274
commit dbe80e41af
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -62,11 +62,11 @@ class EquoInterface(TextInterface):
self.indexing = indexing
self.noclientdb = False
self.openclientdb = True
if not noclientdb:
if noclientdb in (False,0):
self.noclientdb = False
elif noclientdb == True:
elif noclientdb in (True,1):
self.noclientdb = True
else:
elif noclientdb == 2:
self.noclientdb = True
self.openclientdb = False
self.xcache = xcache
+1 -1
View File
@@ -25,7 +25,7 @@ from serverConstants import *
from outputTools import *
import exceptionTools
from entropy import EquoInterface
Entropy = EquoInterface(noclientdb = True)
Entropy = EquoInterface(noclientdb = 2)
# Logging initialization
import logTools