def __init__(self, dbfile, dbdir=None, debug=False):
        self.dbfile = dbfile
        self.listname = self.__class__.__name__[4:-6].lower()
        self.indexname = self.listname + '.index'
        if dbdir:
            self.origfiles = [os.path.join(dbdir, fn + '.list.gz') \
                for fn in self.filenames]
        else:
            self.listorig = None
        self.skip_tvvg = False
        self.debug = debug
dataset/ETHPy150Open nandhp/python-imdb/imdb/parsers.py/_IMDbParser.__init__/original