fix type hints

This commit is contained in:
Maximilian Hils 2017-03-10 19:15:44 +01:00 committed by GitHub
parent 8e67c6f512
commit f3df4855af
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import binascii
import weakref
from typing import Optional
from typing import Mapping # noqa
from typing import MutableMapping # noqa
from typing import Tuple
import passlib.apache
@ -46,7 +46,7 @@ class ProxyAuth:
self.htpasswd = None
self.singleuser = None
self.mode = None
self.authenticated = weakref.WeakKeyDictionary() # type: Mapping[connections.ClientConnection, Tuple[str, str]]
self.authenticated = weakref.WeakKeyDictionary() # type: MutableMapping[connections.ClientConnection, Tuple[str, str]]
"""Contains all connections that are permanently authenticated after an HTTP CONNECT"""
def enabled(self) -> bool: