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 <mbasti@redhat.com>
This commit is contained in:
David Kupka 2015-08-10 15:46:03 +02:00 committed by Martin Basti
parent 592e437fc7
commit fe91c375d0

View File

@ -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: