

def __exit__(self, exc_type, exc_val, exc_tb):
    super(Using, self).__exit__(exc_type, exc_val, exc_type)
    for (i, model) in enumerate(self.models):
        model._meta.database = self._orig[i]

dataset/ETHPy150Open coleifer/peewee/peewee.py Using.__exit__/VarMisuse@29/43 `exc_tb`->`exc_type`