From 74d9910a4c3ea506dd199d049276d187dcf39ab8 Mon Sep 17 00:00:00 2001 From: Corey Oordt Date: Mon, 14 Feb 2011 11:13:04 -0500 Subject: [PATCH] Got rid of the debugging print statements --- categories/management/commands/import_categories.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/categories/management/commands/import_categories.py b/categories/management/commands/import_categories.py index 9bddd55..f06f597 100644 --- a/categories/management/commands/import_categories.py +++ b/categories/management/commands/import_categories.py @@ -48,7 +48,6 @@ class Command(BaseCommand): current_parents = {0: None} for line in lines: - print line if len(line) == 0: continue if line[0] == ' ' or line[0] == '\t': @@ -58,12 +57,9 @@ class Command(BaseCommand): raise CommandError("You can't mix spaces and tabs for indents") level = line.count(indent) current_parents[level] = self.make_category(line, parent=current_parents[level-1]) - print current_parents else: # We are back to a zero level, so reset the whole thing current_parents = {0: self.make_category(line)} - print current_parents - print Category.objects.all() def handle(self, *file_paths, **options): """