File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,23 +166,17 @@ def __ge__(self, other):
166166 return self .issuperset (other )
167167
168168 def __lt__ (self , other ):
169- return self .isstrictsubset ( other )
169+ return self ._uuids < set ( t [ 'uuid' ] for t in other )
170170
171171 def __gt__ (self , other ):
172- return self .isstrictsuperset ( other )
172+ return self ._uuids > set ( t [ 'uuid' ] for t in other )
173173
174174 def issubset (self , other ):
175175 return all ([task in other for task in self ])
176176
177177 def issuperset (self , other ):
178178 return all ([task in self for task in other ])
179179
180- def isstrictsubset (self , other ):
181- return len (set (t ['uuid' ] for t in other ) - self ._uuids ) > 0
182-
183- def isstrictsuperset (self , other ):
184- return len (self ._uuids - set (t ['uuid' ] for t in other )) > 0
185-
186180 def union (self , other ):
187181 return LazyUUIDTaskSet (
188182 self ._tw ,
You can’t perform that action at this time.
0 commit comments