changeset 4101:4ed8de94c926

cli (debug): fix deprecated method call
author Goffi <goffi@goffi.org>
date Fri, 23 Jun 2023 15:18:43 +0200
parents 810921c33a47
children c0bb4b3fdccf
files libervia/cli/cmd_debug.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/cli/cmd_debug.py	Thu Jun 22 15:49:06 2023 +0200
+++ b/libervia/cli/cmd_debug.py	Fri Jun 23 15:18:43 2023 +0200
@@ -59,7 +59,7 @@
         method = getattr(self.host.bridge, self.args.method)
         import inspect
 
-        argspec = inspect.getargspec(method)
+        argspec = inspect.getfullargspec(method)
 
         kwargs = {}
         if "profile_key" in argspec.args: