From 8e8f1ddf57f8cc001f2ca3f816eecbc6111edc1c Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 24 Nov 2012 15:26:36 +0800 Subject: [PATCH] [1.5.x] Removed some stray debug lines introduced accidentally in c8985a8. Backport of f2d8004. --- django/core/management/validation.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/django/core/management/validation.py b/django/core/management/validation.py index af15752f0f..c0452c5aa6 100644 --- a/django/core/management/validation.py +++ b/django/core/management/validation.py @@ -35,9 +35,6 @@ def get_validation_errors(outfile, app=None): for (app_name, error) in get_app_errors().items(): e.add(app_name, error) - inc = set(models.get_models(app, include_swapped=True)) - no_inc = set(models.get_models(app)) - for cls in models.get_models(app, include_swapped=True): opts = cls._meta