Commit d0f7c7f5 authored by Simon Charette's avatar Simon Charette
Browse files

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

parent fed2877c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ def get_commands():
    if not settings.configured:
        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')
        commands.update({name: app_config.name for name in find_commands(path)})