diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2018-09-25 20:30:43 +0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-09-25 11:30:43 -0400 |
| commit | 553c24018e8a6746158c19b517b508eb03b0f7f9 (patch) | |
| tree | e91c160801aa6759a6b61127115b904a65ee5f44 /django/core | |
| parent | bb81c22d90e5eb168544670ead1a13aa9695fed5 (diff) | |
Removed unneeded list() calls in list.extend() argument.
Diffstat (limited to 'django/core')
| -rw-r--r-- | django/core/management/commands/loaddata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/commands/loaddata.py b/django/core/management/commands/loaddata.py index aaf9775407..595e19e5e6 100644 --- a/django/core/management/commands/loaddata.py +++ b/django/core/management/commands/loaddata.py @@ -298,7 +298,7 @@ class Command(BaseCommand): continue if os.path.isdir(app_dir): dirs.append(app_dir) - dirs.extend(list(fixture_dirs)) + dirs.extend(fixture_dirs) dirs.append('') dirs = [os.path.abspath(os.path.realpath(d)) for d in dirs] return dirs |
