Permalink
Browse files

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.
  • Loading branch information...
1 parent 6d3b0c3 commit 0657646cb81d8742eec59dcd325baa519bb3c63f @claudep claudep committed Mar 1, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 django/core/management/commands/flush.py
View
2 django/core/management/commands/flush.py
@@ -82,8 +82,6 @@ def handle_noargs(self, **options):
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)

0 comments on commit 0657646

Please sign in to comment.