示例#1
0
def packagePathRecurse(path, dbSysInst):
    res = {}
    treePack.packageTreePath(path, dbSysInst, res)
    for root, dirs, files in os.walk(unicode(path)):
        for k in dirs:
            collectionPack.packageCollection(os.path.join(root,k), dbSysInst, res)
    return res
示例#2
0
def packagePath(path, dbSysInst, res):
    treePack.packageTreePath(path, dbSysInst, res)
    collectionPack.packageCollection(path, dbSysInst, res)
    return res