update pyloxi to floodlight/loxigen-artifacts @ cb7d6d4063ed4d311d105e20f0844a54c4bd9916
diff --git a/src/python/loxi/of11/instruction.py b/src/python/loxi/of11/instruction.py
index 7b66009..8fec8ae 100644
--- a/src/python/loxi/of11/instruction.py
+++ b/src/python/loxi/of11/instruction.py
@@ -8,14 +8,12 @@
import struct
import loxi
-import const
-import action
-import message
-import instruction
-import common
import util
import loxi.generic_util
+import sys
+ofp = sys.modules['loxi.of11']
+
class instruction(loxi.OFObject):
subtypes = {}
@@ -94,7 +92,7 @@
orig_reader = reader
reader = orig_reader.slice(_len, 4)
reader.skip(4)
- obj.actions = loxi.generic_util.unpack_list(reader, action.action.unpack)
+ obj.actions = loxi.generic_util.unpack_list(reader, ofp.action.action.unpack)
return obj
def __eq__(self, other):
@@ -293,7 +291,7 @@
orig_reader = reader
reader = orig_reader.slice(_len, 4)
reader.skip(4)
- obj.actions = loxi.generic_util.unpack_list(reader, action.action.unpack)
+ obj.actions = loxi.generic_util.unpack_list(reader, ofp.action.action.unpack)
return obj
def __eq__(self, other):