This commit is contained in:
Alexander Kryklia
2013-01-16 16:18:06 +02:00
parent c8bbcacfef
commit e017297d3f

View File

@@ -206,6 +206,8 @@ class DragAndDrop(object):
Returns: True if within rule lists are equal, otherwise False.
"""
if flag == 'exact':
if len(correct) != len(user):
return False
for el1, el2 in zip(correct, user):
if PositionsCompare(el1) != PositionsCompare(el2):
return False