Beispiel #1
0
 def __init__(self, component_manager):
     Database.__init__(self, component_manager)
     self.tags = []
     self.facts = []
     self.cards = []
     self.global_variables = {"version": self.version}
     self.load_failed = False
Beispiel #2
0
 def __init__(self, component_manager):
     Database.__init__(self, component_manager)
     self._connection = None
     self._path = None # Needed for lazy creation of connection.
     self.load_failed = True
     self._current_criterion = None # Cached for performance reasons.
     self.syncing = False # Controls whether _process_media should log.
Beispiel #3
0
 def __init__(self, component_manager):
     Database.__init__(self, component_manager)
     self._connection = None
     self._path = None # Needed for lazy creation of connection.
     self.load_failed = True