Kaydet (Commit) d0f7c7f5 authored tarafından Simon Charette's avatar Simon Charette

Argument to `reversed` must be a sequence on Py3.

üst fed2877c
...@@ -67,7 +67,7 @@ def get_commands(): ...@@ -67,7 +67,7 @@ def get_commands():
if not settings.configured: if not settings.configured:
return commands return commands
for app_config in reversed(apps.get_app_configs()): for app_config in reversed(list(apps.get_app_configs())):
path = os.path.join(app_config.path, 'management') path = os.path.join(app_config.path, 'management')
commands.update({name: app_config.name for name in find_commands(path)}) commands.update({name: app_config.name for name in find_commands(path)})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment