From: Ben Pfaff Date: Tue, 23 Aug 2011 17:31:22 +0000 (-0700) Subject: ovs.fatal_signal: Remove unnecessary "global" statement. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32fcdd44c5e43e41c285220da5db49fd9870d225;p=openvswitch ovs.fatal_signal: Remove unnecessary "global" statement. Suggested-by: Reid Price --- diff --git a/python/ovs/fatal_signal.py b/python/ovs/fatal_signal.py index 839df32b..b9315126 100644 --- a/python/ovs/fatal_signal.py +++ b/python/ovs/fatal_signal.py @@ -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():