diff options
| author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-06-29 17:38:46 +0100 |
|---|---|---|
| committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-06-29 17:38:46 +0100 |
| commit | 1b91d2d408ea471af1e4641e7fb31b4534026a70 (patch) | |
| tree | 8cff22d7b5e0f184b842c624689595635bae6722 /dbus | |
| parent | 06810eb34ed2cdc5f0def02b45680915b0e0b985 (diff) | |
| download | dbus-python-1b91d2d408ea471af1e4641e7fb31b4534026a70.tar.gz | |
dbus.proxies: If making a call with ignore_reply=True, don't block for introspection
Diffstat (limited to 'dbus')
| -rw-r--r-- | dbus/proxies.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
