update pyloxi to floodlight/loxigen-artifacts @ cb7d6d4063ed4d311d105e20f0844a54c4bd9916
diff --git a/src/python/loxi/of12/action.py b/src/python/loxi/of12/action.py
index 72685a7..a95aa78 100644
--- a/src/python/loxi/of12/action.py
+++ b/src/python/loxi/of12/action.py
@@ -8,15 +8,12 @@
import struct
import loxi
-import const
-import action
-import oxm
-import message
-import instruction
-import common
import util
import loxi.generic_util
+import sys
+ofp = sys.modules['loxi.of12']
+
class action(loxi.OFObject):
subtypes = {}
@@ -966,7 +963,7 @@
_len = reader.read("!H")[0]
orig_reader = reader
reader = orig_reader.slice(_len, 4)
- obj.field = oxm.oxm.unpack(reader)
+ obj.field = ofp.oxm.oxm.unpack(reader)
return obj
def __eq__(self, other):