From 332c4bd695f6257fa917c02b35f6a9b75cd08341 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 24 Mar 2006 19:13:21 +0000 Subject: [PATCH] Removed stray 'print' statement in ManyToManyField.flatten_data(). Thanks, burivuh git-svn-id: http://code.djangoproject.com/svn/django/trunk@2558 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/meta/fields.py | 1 - 1 file changed, 1 deletion(-) diff --git a/django/core/meta/fields.py b/django/core/meta/fields.py index d01c0af808..b7e09067e7 100644 --- a/django/core/meta/fields.py +++ b/django/core/meta/fields.py @@ -798,7 +798,6 @@ class ManyToManyField(Field): if not self.blank and not self.rel.edit_inline and not self.rel.raw_id_admin: choices_list = self.get_choices_default() if len(choices_list) == 1: - print self.name, choices_list[0][0] new_data[self.name] = [choices_list[0][0]] return new_data