def __init__(self, topPath):
        self.top = topPath

        if (not os.path.isdir(self.top)):
            raise IOError, ("path is not a directory: %s" % topPath)
dataset/ETHPy150Open sassoftware/conary/conary/repository/datastore.py/DataStore.__init__/original