# HG changeset patch # User Goffi # Date 1662456814 -7200 # Node ID 8bbaa089cb107224da559e12e036ea7728c8192b # Parent 0e801ae1869f54b9f00cf9e9da0bfe3f082f7c94 privilege: use `typing.Dict[]` instead of `dict[]` to be compatible with Python 3.7 diff -r 0e801ae1869f -r 8bbaa089cb10 sat_pubsub/privilege.py --- a/sat_pubsub/privilege.py Tue Sep 06 11:31:00 2022 +0200 +++ b/sat_pubsub/privilege.py Tue Sep 06 11:33:34 2022 +0200 @@ -51,7 +51,7 @@ PERM_MESSAGE:ALLOWED_MESSAGE, PERM_PRESENCE:ALLOWED_PRESENCE } -PERMS_BASE : dict[str, Optional[Union[str, Dict[str, Union[str, bool]]]]]= { +PERMS_BASE : Dict[str, Optional[Union[str, Dict[str, Union[str, bool]]]]]= { PERM_ROSTER: None, PERM_MESSAGE: None, PERM_PRESENCE: None,