pyloxi: unpack of_list_instruction
diff --git a/py_gen/templates/common.py b/py_gen/templates/common.py
index 1ab91cf..1ab2f68 100644
--- a/py_gen/templates/common.py
+++ b/py_gen/templates/common.py
@@ -32,6 +32,9 @@
import sys
import struct
import action
+:: if version >= 2:
+import instruction # for unpack_list
+:: #endif
:: if version >= 4:
import meter_band # for unpack_list
:: #endif
diff --git a/py_gen/templates/message.py b/py_gen/templates/message.py
index 228d2d0..196cd6c 100644
--- a/py_gen/templates/message.py
+++ b/py_gen/templates/message.py
@@ -36,6 +36,9 @@
import const
import common
import action # for unpack_list
+:: if version >= 2:
+import instruction # for unpack_list
+:: #endif
:: if version >= 4:
import meter_band # for unpack_list
:: #endif