[DEBUG] correct python 3 correction of dict comparing

This commit is contained in:
Edouard DUPIN 2015-11-05 21:02:49 +01:00
parent 5065c7b6ee
commit 7360adce0b

View File

@ -694,8 +694,9 @@ class Module:
if element==newElement: if element==newElement:
return return
listout.append(newElement) listout.append(newElement)
if True==order: if order == True:
listout.sort() if type(newElement) is not dict:
listout.sort()
def append_to_internal_list2(self, listout, module, list, order=False): def append_to_internal_list2(self, listout, module, list, order=False):
# add list in the Map # add list in the Map