From 1b91d2d408ea471af1e4641e7fb31b4534026a70 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 29 Jun 2007 17:38:46 +0100 Subject: [PATCH] dbus.proxies: If making a call with ignore_reply=True, don't block for introspection --- dbus/proxies.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dbus/proxies.py b/dbus/proxies.py index 452a64a..deddfeb 100644 --- a/dbus/proxies.py +++ b/dbus/proxies.py @@ -53,7 +53,8 @@ class _DeferredMethod: self._block = block def __call__(self, *args, **keywords): - if keywords.has_key('reply_handler'): + if (keywords.has_key('reply_handler') or + keywords.get('ignore_reply', False)): # defer the async call til introspection finishes self._append(self._proxy_method, args, keywords) return None -- 2.11.4.GIT