summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2013-03-01 22:52:08 +0100
committerClaude Paroz <claude@2xlibre.net>2013-03-01 22:52:08 +0100
commit0657646cb81d8742eec59dcd325baa519bb3c63f (patch)
treece0a4543547cf2e8e9fed1ba3b073cb56e90940c /django
parent6d3b0c33dcb38cdb3e72531c447250e76cd3e486 (diff)
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.
Diffstat (limited to 'django')
-rw-r--r--django/core/management/commands/flush.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/django/core/management/commands/flush.py b/django/core/management/commands/flush.py
index b8b78434ce..3bf1e9c672 100644
--- a/django/core/management/commands/flush.py
+++ b/django/core/management/commands/flush.py
@@ -82,8 +82,6 @@ The full error: %s""" % (connection.settings_dict['NAME'], e))
emit_post_sync_signal(set(all_models), verbosity, interactive, db)
# Reinstall the initial_data fixture.
- kwargs = options.copy()
- kwargs['database'] = db
if options.get('load_initial_data'):
# Reinstall the initial_data fixture.
call_command('loaddata', 'initial_data', **options)