diff options
author | Michael Elkins <melkins@tislabs.com> | 2014-11-19 22:47:25 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2014-11-19 22:47:25 +0000 |
commit | 3504a1af28c45dca3c4caf5df4c72f9e1ce47963 (patch) | |
tree | 1f31177200d191f783abc2d394a3fad4f2d9ccbb /rpki/gui/app/glue.py | |
parent | 06f6dd3a2ff8ba58c8edfa9ed3d2b12b0b9a7ca4 (diff) |
disable signal handlers for Zookeeper to avoid mod_wsgi warnings.
svn path=/trunk/; revision=6028
Diffstat (limited to 'rpki/gui/app/glue.py')
-rw-r--r-- | rpki/gui/app/glue.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rpki/gui/app/glue.py b/rpki/gui/app/glue.py index 0bf5f942..2afaafb8 100644 --- a/rpki/gui/app/glue.py +++ b/rpki/gui/app/glue.py @@ -90,7 +90,10 @@ 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)) + pdus = z.call_rpkid( + list_received_resources_elt.make_pdu(self_handle=conf.handle), + disable_signal_handlers=True + ) # 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 |