Skip to content

Commit e121437

Browse files
committed
Merge branch 'drop-six' into 'master'
Drop six See merge request limagroup/Lima-tango-python!126
2 parents 73c2588 + 33cebf4 commit e121437

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Lima/Server/LimaCCDs.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
import struct
5656
import time
5757
import re
58-
import six
5958

6059
# Before loading Lima.Core, must find out the version the plug-in
6160
# was compiled with - horrible hack ...
@@ -1349,7 +1348,7 @@ def read_saving_common_header(self, attr):
13491348
header = saving.getCommonHeader()
13501349
headerArr = [
13511350
"%s%s%s" % (k, self.__key_header_delimiter, v)
1352-
for k, v in six.iteritems(header)
1351+
for k, v in header.items()
13531352
]
13541353
attr.set_value(headerArr, len(headerArr))
13551354

@@ -1922,7 +1921,7 @@ def read_plugin_type_list(self, attr):
19221921

19231922
def read_plugin_list(self, attr):
19241923
returnList = []
1925-
for key, value in six.iteritems(get_sub_devices()):
1924+
for key, value in get_sub_devices().items():
19261925
returnList.append(key.lower().replace("deviceserver", ""))
19271926
returnList.append(value)
19281927
attr.set_value(returnList)
@@ -2375,7 +2374,7 @@ def getPluginDeviceNameFromType(self, pluginType):
23752374
pluginType2deviceName = dict(
23762375
[
23772376
(x.lower().replace("deviceserver", ""), y)
2378-
for x, y in six.iteritems(get_sub_devices())
2377+
for x, y in get_sub_devices().items()
23792378
]
23802379
)
23812380
return pluginType2deviceName.get(pluginType.lower(), "")

0 commit comments

Comments
 (0)