Ejemplo n.º 1
0
 def __init__(self, engine, **kw):
     super(FileBase, self).__init__(engine, **kw)
     if engine.startswith(self.init):
         engine = url2pathname(engine.split('://')[1])
     self._dir = engine
     # Create directory
     if not exists(self._dir):
         self._createdir()
Ejemplo n.º 2
0
 def __init__(self, engine, **kw):
     super(FileBase, self).__init__(engine, **kw)
     if engine.startswith(self.init):
         engine = url2pathname(engine.split('://')[1])
     self._dir = engine
     # Create directory
     if not exists(self._dir):
         self._createdir()
Ejemplo n.º 3
0
 def __init__(self, engine, **kw):
     super(ClientStore, self).__init__(engine, **kw)
     if engine.startswith(self.init):
         self._engine = url2pathname(engine.split('://')[1])
Ejemplo n.º 4
0
 def __init__(self, engine, **kw):
     super(PathBase, self).__init__(engine, **kw)
     if engine.startswith(self.init):
         self._engine = url2pathname(engine.split('://')[1])