From fe91c375d06b076c628e2e72cfdf48db54354444 Mon Sep 17 00:00:00 2001 From: David Kupka Date: Mon, 10 Aug 2015 15:46:03 +0200 Subject: dbus: Create empty dbus.Array with specified signature Python DBus binding could fail to guess the type signature from empty list. This issue was seen but we don't have a reproducer. There is no harm in making sure that it will not happen. Reviewed-By: Martin Basti --- ipaserver/install/dogtaginstance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipaserver/install/dogtaginstance.py b/ipaserver/install/dogtaginstance.py index c377bfe2b..e8d17cb22 100644 --- a/ipaserver/install/dogtaginstance.py +++ b/ipaserver/install/dogtaginstance.py @@ -304,7 +304,8 @@ class DogtagInstance(service.Service): if not path: iface.add_known_ca( 'dogtag-ipa-ca-renew-agent', - paths.DOGTAG_IPA_CA_RENEW_AGENT_SUBMIT, []) + paths.DOGTAG_IPA_CA_RENEW_AGENT_SUBMIT, + dbus.Array([], dbus.Signature('s'))) def __get_pin(self): try: -- cgit