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 synapse.http.server import (
)
from synapse.http.servlet import parse_integer, parse_string
from synapse.metrics.background_process_metrics import run_as_background_process
from synapse.util.async import ObservableDeferred
from synapse.util.async_helpers import ObservableDeferred
from synapse.util.caches.expiringcache import ExpiringCache
from synapse.util.logcontext import make_deferred_yieldable, run_in_background
from synapse.util.stringutils import is_ascii, random_string