mirror of
https://github.com/openvswitch/ovs
synced 2025-10-23 14:57:06 +00:00
ovs.fatal_signal: Remove unnecessary "global" statement.
Suggested-by: Reid Price <reid@nicira.com>
This commit is contained in:
@@ -21,8 +21,6 @@ _hooks = []
|
||||
|
||||
def add_hook(hook, cancel, run_at_exit):
|
||||
_init()
|
||||
|
||||
global _hooks
|
||||
_hooks.append((hook, cancel, run_at_exit))
|
||||
|
||||
def fork():
|
||||
|
Reference in New Issue
Block a user