Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(2)  |  Import(2)

src/d/i/DirectoryStorage-1.1.21/Minimal.py   DirectoryStorage(Download)
from ZODB import POSException
 
from BaseDirectoryStorage import BaseDirectoryStorage
 
from utils import z64, z128, OMAGIC, oid2str, DirectoryStorageError, DirectoryStorageVersionError, FileDoesNotExist
 
 
class Minimal(BaseDirectoryStorage):

src/d/i/DirectoryStorage-1.1.21/Full.py   DirectoryStorage(Download)
from ZODB.ConflictResolution import ConflictResolvingStorage, ResolvedSerial
 
from BaseDirectoryStorage import BaseDirectoryStorage
 
from utils import z16, z64, z128, OMAGIC, TMAGIC, CMAGIC, oid2str, timestamp2tid
class Full(BaseDirectoryStorage,ConflictResolvingStorage):
 
    def _load_object_file(self,oid):
        serial = self._get_current_serial(oid)
        if serial is None: