Argument to `reversed` must be a sequence on Py3.
This commit is contained in:
parent
fed2877cf1
commit
d0f7c7f59a
|
@ -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)})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue