summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2023-01-11 11:01:45 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2023-01-11 11:02:39 +0100
commit33ab4cce74857f928382ba6cfada111a64dafe88 (patch)
treedab4c77fc810c13c50c7d004349379b8ed328e20
parent1be2a5fff77cdf61c843edc8356dfdef3fd2dbfc (diff)
python: Replace getargspec with getfullargspecmain
Fixes https://gitlab.freedesktop.org/zeitgeist/zeitgeist/issues/26
-rw-r--r--python/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/client.py b/python/client.py
index 39b2fb0a..25d81c53 100644
--- a/python/client.py
+++ b/python/client.py
@@ -1097,7 +1097,7 @@ class ZeitgeistClient(object):
if callable(normal_reply_handler):
normal_reply_handler(normal_reply_data)
-_FIND_EVENTS_FOR_TEMPLATES_ARGS = inspect.getargspec(
- ZeitgeistClient.find_events_for_templates)[0]
+_FIND_EVENTS_FOR_TEMPLATES_ARGS = inspect.getfullargspec(
+ ZeitgeistClient.find_events_for_templates).args
# vim:noexpandtab:ts=4:sw=4