コード例 #1
0
ファイル: entryshelve.py プロジェクト: Habmala/pyblosxom
 def __init__(self, req, config):
     """
     Initializes BlosxomCacheBase.__init__ and also opens the
     shelf file.
     """
     BlosxomCacheBase.__init__(self, req, config)
     self._db = shelve.open(self._config)
コード例 #2
0
ファイル: entrypickle.py プロジェクト: pyblosxom/pyblosxom
 def __init__(self, req, config):
     """
     Takes in a Pyblosxom request object and a configuration string
     which determines where to store the pickle files.
     """
     BlosxomCacheBase.__init__(self, req, config)
     self._cachefile = ""
コード例 #3
0
ファイル: entryshelve.py プロジェクト: yelonek/pyblosxom
 def __init__(self, req, config):
     """
     Initializes BlosxomCacheBase.__init__ and also opens the
     shelf file.
     """
     BlosxomCacheBase.__init__(self, req, config)
     self._db = shelve.open(self._config)
コード例 #4
0
ファイル: entrypickle.py プロジェクト: AkaiKitsune/pyblosxom
 def __init__(self, req, config):
     """
     Takes in a Pyblosxom request object and a configuration string
     which determines where to store the pickle files.
     """
     BlosxomCacheBase.__init__(self, req, config)
     self._cachefile = ""
コード例 #5
0
 def __init__(self, config):
     BlosxomCacheBase.__init__(self, config)
     self._db = shelve.open(self._config)
コード例 #6
0
ファイル: entryshelve.py プロジェクト: thor509/personal_code
 def __init__(self, req, config):
     BlosxomCacheBase.__init__(self, req, config)
     self._db = shelve.open(self._config)