diff options
author | David Kupka <dkupka@redhat.com> | 2015-08-10 15:46:03 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2015-08-14 12:48:45 +0200 |
commit | fe91c375d06b076c628e2e72cfdf48db54354444 (patch) | |
tree | 3f6d3da6b0eefec220518924d72538b36774ce4d | |
parent | 592e437fc79e778cc96603a0f414c3456fcc9455 (diff) | |
download | freeipa-fe91c375d06b076c628e2e72cfdf48db54354444.tar.gz freeipa-fe91c375d06b076c628e2e72cfdf48db54354444.tar.xz freeipa-fe91c375d06b076c628e2e72cfdf48db54354444.zip |
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>
-rw-r--r-- | ipaserver/install/dogtaginstance.py | 3 |
1 files changed, 2 insertions, 1 deletions
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: |