Skip to content

Commit 0a9f0ab

Browse files
committed
Fixing for py38
1 parent ba4ae50 commit 0a9f0ab

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

debug_toolbar/toolbar.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
import re
66
import uuid
7-
from collections import OrderedDict
7+
from typing import OrderedDict
8+
# from collections import OrderedDict
89
from functools import lru_cache
910

1011
from django.apps import apps

tests/test_csp_rendering.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from .base import BaseTestCase
1111

1212

13-
def _get_ns(element: Element) -> dict[str, str]:
13+
def _get_ns(element: Element) -> Dict[str, str]:
1414
"""
1515
Return the default `xmlns`. See
1616
https://docs.python.org/3/library/xml.etree.elementtree.html#parsing-xml-with-namespaces

0 commit comments

Comments
 (0)