diff options
Diffstat (limited to 'rpkid/rpki/left_right.py')
-rw-r--r-- | rpkid/rpki/left_right.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rpkid/rpki/left_right.py b/rpkid/rpki/left_right.py index 1f0920b6..d19f9c45 100644 --- a/rpkid/rpki/left_right.py +++ b/rpkid/rpki/left_right.py @@ -598,7 +598,7 @@ class repository_elt(data_elt): """ pdu.raise_if_error() - def call_pubd(self, callback, errback, q_msg, handlers = {}): + def call_pubd(self, callback, errback, q_msg, handlers = None): """ Send a message to publication daemon and return the response. @@ -619,6 +619,9 @@ class repository_elt(data_elt): if not q_msg: return callback() + if handlers is None: + handlers = {} + for q_pdu in q_msg: rpki.log.info("Sending <%s %r %r> to pubd" % (q_pdu.action, q_pdu.uri, q_pdu.payload)) |