projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1304578
)
ovs.fatal_signal: Remove unnecessary "global" statement.
author
Ben Pfaff
<blp@nicira.com>
Tue, 23 Aug 2011 17:31:22 +0000
(10:31 -0700)
committer
Ben 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
patch
|
blob
|
history
diff --git
a/python/ovs/fatal_signal.py
b/python/ovs/fatal_signal.py
index 839df32bb695d38754332704ae9dede0919214cf..b931512689e7e06a24c96cb6414b9999db616caf 100644
(file)
--- 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():