Ejemplo n.º 1
0
 def initialize(self):
     self.debug("Initializing SQL Data Source")
     self._connection.open(self._connectionInfo)
     self.debug("Opened an SQL connection to %s", database.filter_uri(self._connectionInfo))
     return defer.succeed(None)
Ejemplo n.º 2
0
 def __init__(self, parentStore, data, adminStore, custStore, profStore, targStore):
     label = "SQL Notification to %s" % database.filter_uri(data.databaseURI)
     NotificationStore.__init__(self, parentStore, data, adminStore,
                                custStore, profStore, targStore, label=label)