Browse Source

Declare the global variables in the global space.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1335 e5f2f494-b856-4b98-b285-d166d9295462
Shane Kerr 15 years ago
parent
commit
764fa517c1
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/bin/bind10/bind10.py.in

+ 4 - 0
src/bin/bind10/bind10.py.in

@@ -481,6 +481,10 @@ class BoB:
         # return the time when the next process is ready to be restarted
         return next_restart
 
+# global variables, needed for signal handlers
+options = None
+boss_of_bind = None
+
 def reaper(signal_number, stack_frame):
     """A child process has died (SIGCHLD received)."""
     # don't do anything...