Pārlūkot izejas kodu

Avoid constructs incompatible with python 3.5.

Jelmer Vernooij 5 gadi atpakaļ
vecāks
revīzija
a02190fe58
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      dulwich/web.py

+ 2 - 2
dulwich/web.py

@@ -268,8 +268,8 @@ class HTTPGitRequest(object):
         self.dumb = dumb
         self.handlers = handlers
         self._start_response = start_response
-        self._cache_headers: List[Tuple[str, str]] = []
-        self._headers: List[Tuple[str, str]] = []
+        self._cache_headers = []  # type: List[Tuple[str, str]]
+        self._headers = []  # type: List[Tuple[str, str]]
 
     def add_header(self, name, value):
         """Add a header to the response."""