コード例 #1
0
ファイル: pickle.py プロジェクト: umax/pomni
 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
コード例 #2
0
ファイル: SQLite.py プロジェクト: bartosh/pomni
 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.
コード例 #3
0
ファイル: SQLite.py プロジェクト: umax/pomni
 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