summaryrefslogtreecommitdiff
path: root/django/utils/autoreload.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/autoreload.py')
-rw-r--r--django/utils/autoreload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py
index 7ffc61fc92..a620d0adb7 100644
--- a/django/utils/autoreload.py
+++ b/django/utils/autoreload.py
@@ -193,7 +193,7 @@ def common_roots(paths):
# Turn the tree into a list of Path instances.
def _walk(node, path):
for prefix, child in node.items():
- yield from _walk(child, path + (prefix,))
+ yield from _walk(child, [*path, prefix])
if not node:
yield Path(*path)