Exemple #1
0
 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)
Exemple #2
0
 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 = ""
Exemple #3
0
 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)
Exemple #4
0
 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 = ""
 def __init__(self, config):
     BlosxomCacheBase.__init__(self, config)
     self._db = shelve.open(self._config)
Exemple #6
0
 def __init__(self, req, config):
     BlosxomCacheBase.__init__(self, req, config)
     self._db = shelve.open(self._config)