Removed unused options copy in flush

This was used at the time the 'database' option did not default to
DEFAULT_DB_ALIAS in make_option.
This commit is contained in:
Claude Paroz 2013-03-01 22:52:08 +01:00
parent 6d3b0c33dc
commit 0657646cb8
1 changed files with 0 additions and 2 deletions

View File

@ -82,8 +82,6 @@ The full error: %s""" % (connection.settings_dict['NAME'], e))
emit_post_sync_signal(set(all_models), verbosity, interactive, db) emit_post_sync_signal(set(all_models), verbosity, interactive, db)
# Reinstall the initial_data fixture. # Reinstall the initial_data fixture.
kwargs = options.copy()
kwargs['database'] = db
if options.get('load_initial_data'): if options.get('load_initial_data'):
# Reinstall the initial_data fixture. # Reinstall the initial_data fixture.
call_command('loaddata', 'initial_data', **options) call_command('loaddata', 'initial_data', **options)