modbus/mb_utils.py
changeset 2432 dbc065a2f7a5
parent 2019 92f02bb17c7e
child 2437 105c20fdeb19
--- a/modbus/mb_utils.py	Thu Oct 04 11:25:42 2018 +0300
+++ b/modbus/mb_utils.py	Thu Oct 04 12:07:16 2018 +0300
@@ -22,6 +22,8 @@
 # This code is made available on the understanding that it will not be
 # used in safety-critical situations without a full and competent review.
 
+from __future__ import absolute_import
+from six.moves import xrange
 
 # dictionary implementing:
 # key   - string with the description we want in the request plugin GUI