Entropy/Entropy Notification Applet/Spritz:

- when subclassing entropy.client.interfaces.Client reimplement init_singleton instead of __init__ because the former is now a Singleton


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3163 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2009-03-14 15:37:00 +00:00
parent 4d57fd5e87
commit 85b16445a0
2 changed files with 4 additions and 4 deletions
@@ -44,8 +44,8 @@ from entropy.const import etpConst, etpRepositories
class Entropy(EquoInterface):
def __init__(self, appletInterface):
EquoInterface.__init__(self, noclientdb = True)
def init_singleton(self, appletInterface):
EquoInterface.init_singleton(self, noclientdb = True)
self.connect_progress_objects(appletInterface)
self.nocolor()
+2 -2
View File
@@ -226,8 +226,8 @@ class QueueExecutor:
class Equo(EquoInterface):
def __init__(self, *args, **kwargs):
EquoInterface.__init__(self, *args, **kwargs)
def init_singleton(self, *args, **kwargs):
EquoInterface.init_singleton(self, *args, **kwargs)
self.progressLog = None
self.output = None
self.progress = None