wireshark: simplify backend init
diff --git a/lang_wireshark.py b/lang_wireshark.py
index 509c9cd..3e862d2 100644
--- a/lang_wireshark.py
+++ b/lang_wireshark.py
@@ -36,15 +36,7 @@
loaded automatically by Wireshark.
"""
-import os
-import loxi_utils.loxi_utils as loxi_utils
import wireshark_gen
-targets = {
- 'wireshark/openflow.lua' : wireshark_gen.generate
-}
-
def generate():
- for (name, fn) in targets.items():
- with loxi_utils.open_output(name) as outfile:
- fn(outfile, os.path.basename(name))
+ wireshark_gen.generate()