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:
@@ -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()
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user