ovs.fatal_signal: Remove unnecessary "global" statement.
authorBen Pfaff <blp@nicira.com>
Tue, 23 Aug 2011 17:31:22 +0000 (10:31 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 24 Aug 2011 18:57:44 +0000 (11:57 -0700)
Suggested-by: Reid Price <reid@nicira.com>
python/ovs/fatal_signal.py

index 839df32bb695d38754332704ae9dede0919214cf..b931512689e7e06a24c96cb6414b9999db616caf 100644 (file)
@@ -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():