Commit e9146982 authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed TQL "&" operator order (keep the order of the first operand)

parent df25cde8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -118,8 +118,8 @@ class TqlResponse(object):

    def __and__(self, other):
        response = TqlResponse(self._requestor)
        for obj in other:
            if obj in self:
        for obj in self:
            if obj in other:
                obj = obj.copy()
                obj.show |= self[obj.id].show
                response.add(obj)