add indexing option to openServerDatabase

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1704 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-04-11 18:55:05 +00:00
parent 059dd4d2fb
commit 4913e0bc77
+2 -2
View File
@@ -11128,7 +11128,7 @@ class ServerInterface(TextInterface):
self.ClientService.backup_setting(setting)
def openServerDatabase(self, read_only = True, no_upload = True, just_reading = False, repo = None):
def openServerDatabase(self, read_only = True, no_upload = True, just_reading = False, repo = None, indexing = True):
if repo == None:
repo = self.default_repository
@@ -11184,7 +11184,7 @@ class ServerInterface(TextInterface):
type = "warning",
header = bold(" !!! ")
)
if not read_only and valid:
if not read_only and valid and indexing:
self.updateProgress(
"[repo:%s|%s] %s" % (
blue(repo),