magic-removal: negligible whitespace fix

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2006-02-06 22:17:28 +00:00
parent d03b2de326
commit 28b16af6ca
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ def _add_m2m_items(rel_manager_inst, managerclass, rel_model, join_table, this_c
rel_col_name, ",".join(['%s'] * len(new_ids))), rel_col_name, ",".join(['%s'] * len(new_ids))),
[this_pk_val] + list(new_ids)) [this_pk_val] + list(new_ids))
existing_ids = set([row[0] for row in cursor.fetchmany(rowcount)]) existing_ids = set([row[0] for row in cursor.fetchmany(rowcount)])
# Add the ones that aren't there already # Add the ones that aren't there already
for obj_id in (new_ids - existing_ids): for obj_id in (new_ids - existing_ids):
cursor.execute("INSERT INTO %s (%s, %s) VALUES (%%s, %%s)" % \ cursor.execute("INSERT INTO %s (%s, %s) VALUES (%%s, %%s)" % \