summary refs log tree commit diff
path: root/synapse/handlers/cas.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/handlers/cas.py')
-rw-r--r--synapse/handlers/cas.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/cas.py b/synapse/handlers/cas.py
index 7346ccfe93..b681d208bc 100644
--- a/synapse/handlers/cas.py
+++ b/synapse/handlers/cas.py
@@ -171,7 +171,7 @@ class CasHandler:
 
         # Iterate through the nodes and pull out the user and any extra attributes.
         user = None
-        attributes = {}  # type: Dict[str, List[Optional[str]]]
+        attributes: Dict[str, List[Optional[str]]] = {}
         for child in root[0]:
             if child.tag.endswith("user"):
                 user = child.text