summary refs log tree commit diff
path: root/synapse/logging
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-01-28 08:34:19 -0500
committerGitHub <noreply@github.com>2021-01-28 08:34:19 -0500
commita78016dadfb1680f5f77daae9948086b37cbeef8 (patch)
treeb37fc59e70db054bbf081c3e802b33a9135fd875 /synapse/logging
parentAdd notes on integrating with Facebook for SSO login. (#9244) (diff)
downloadsynapse-a78016dadfb1680f5f77daae9948086b37cbeef8.tar.xz
Add type hints to E2E handler. (#9232)
This finishes adding type hints to the `synapse.handlers` module.
Diffstat (limited to 'synapse/logging')
-rw-r--r--synapse/logging/opentracing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/logging/opentracing.py b/synapse/logging/opentracing.py
index ab586c318c..0538350f38 100644
--- a/synapse/logging/opentracing.py
+++ b/synapse/logging/opentracing.py
@@ -791,7 +791,7 @@ def tag_args(func):
 
     @wraps(func)
     def _tag_args_inner(*args, **kwargs):
-        argspec = inspect.getargspec(func)
+        argspec = inspect.getfullargspec(func)
         for i, arg in enumerate(argspec.args[1:]):
             set_tag("ARG_" + arg, args[i])
         set_tag("args", args[len(argspec.args) :])