entropy.core.SystemSettings: new method "disconnect_entropy", removes

the Entropy instance from database
This commit is contained in:
Fabio Erculiani
2009-04-06 13:35:56 +02:00
parent 4ad7aa7556
commit cdfa67f85a
+8
View File
@@ -152,6 +152,14 @@ class SystemSettings(Singleton):
self.Entropy = entropy_instance
self.__scan() # do this again to re-fill settings
def disconnect_entropy(self):
"""
Remove an Entropy (client/server) instance to
this Singleton.
"""
self.Entropy = None
self.__scan()
def __setup_const(self):
"""