Commit 1e1c13f4 authored by DamN's avatar DamN

xrange -> range for python 3 support

parent 569a0239
Pipeline #10652 passed with stages
in 30 seconds
......@@ -1731,7 +1731,7 @@ class LimaCCDs(PyTango.Device_4Impl) :
@Core.DEB_MEMBER_FUNCT
def _image_2_data_array(self, data, category):
d = data.buffer
s = [d.shape[i] for i in xrange(len(d.shape) - 1, -1, -1)]
s = [d.shape[i] for i in range(len(d.shape) - 1, -1, -1)]
if (category == self.DataArrayCategory.ImageStack) and (len(s) == 2):
s += [1]
nbDim = len(s)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment