def _createDatabaseTroveSet(self, db, g, csTroveSet = None):
        if csTroveSet is None:
            path = []
        else:
            path = [ csTroveSet ]

        dbSearchSource = searchsource.SearchSource(db, self.cfg.flavor)
        dbTroveSet = DatabaseTroveSet(dbSearchSource, graph = g)

        path.append(dbTroveSet)
        return CMLSearchPath(path, graph = g)
dataset/ETHPy150Open sassoftware/conary/conary/conaryclient/modelupdate.py/ModelCompiler._createDatabaseTroveSet/original