Rename async to async_helpers because async is a keyword on Python 3.7 (#3678)

This commit is contained in:
Amber Brown 2018-08-10 23:50:21 +10:00 committed by GitHub
parent 3c0213a217
commit b37c472419
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 35 additions and 34 deletions

View file

@ -42,7 +42,7 @@ from twisted.web.http_headers import Headers
from synapse.api.errors import Codes, HttpResponseException, SynapseError
from synapse.http import cancelled_to_request_timed_out_error, redact_uri
from synapse.http.endpoint import SpiderEndpoint
from synapse.util.async import add_timeout_to_deferred
from synapse.util.async_helpers import add_timeout_to_deferred
from synapse.util.caches import CACHE_SIZE_FACTOR
from synapse.util.logcontext import make_deferred_yieldable