diff libervia/cli/cmd_debug.py @ 4101:4ed8de94c926

cli (debug): fix deprecated method call
author Goffi <goffi@goffi.org>
date Fri, 23 Jun 2023 15:18:43 +0200
parents 47401850dec6
children
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: