Commits

Anonymous committed d363628

More cruft cleaning continues my trend of one-line commits.

Comments (0)

Files changed (1)

         fake_locals = dict(inspect.getmodule(self.cls).__dict__)
         
         # Remove all models from that (i.e. from modern models.py), to stop pollution
-        removed_models = []
         for key, value in fake_locals.items():
             if isinstance(value, type) and issubclass(value, models.Model) and hasattr(value, "_meta"):
                 del fake_locals[key]