diff options
author | Michael Elkins <melkins@tislabs.com> | 2014-11-19 23:32:02 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2014-11-19 23:32:02 +0000 |
commit | 6870c4d622fa93b310a7af24f687838f352b240c (patch) | |
tree | 16d3bd1ac94f7327bf8d70b1ab36639ffbfbaa5d /rpki | |
parent | 4e3212300fe466f7a9044e686beb0bc10991fee4 (diff) |
disable_signal_handlers is an arg to the Zookeeper constructor, not .call_rpkid()
svn path=/trunk/; revision=6030
Diffstat (limited to 'rpki')
-rw-r--r-- | rpki/gui/app/glue.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/rpki/gui/app/glue.py b/rpki/gui/app/glue.py index 2afaafb8..a2dddb51 100644 --- a/rpki/gui/app/glue.py +++ b/rpki/gui/app/glue.py @@ -89,11 +89,8 @@ def list_received_resources(log, conf): """ - z = Zookeeper(handle=conf.handle) - pdus = z.call_rpkid( - list_received_resources_elt.make_pdu(self_handle=conf.handle), - disable_signal_handlers=True - ) + z = Zookeeper(handle=conf.handle, disable_signal_handlers=True) + pdus = z.call_rpkid(list_received_resources_elt.make_pdu(self_handle=conf.handle)) # pdus is sometimes None (see https://trac.rpki.net/ticket/681) if pdus is None: print >>log, 'error: call_rpkid() returned None for handle %s when fetching received resources' % conf.handle |