Lines Matching full:description
149 # If the description does not have a version number, then we compare the
162 def __eq__(self, description):
163 if description == self.GetDescription():
168 return self.compiler == description
170 def __ne__(self, description):
171 return not self.__eq__(description)
173 def __lt__(self, description):
174 return self.CompareVersion(operator.lt, description)
176 def __le__(self, description):
177 return self.CompareVersion(operator.le, description)
179 def __ge__(self, description):
180 return self.CompareVersion(operator.ge, description)
182 def __gt__(self, description):
183 return self.CompareVersion(operator.gt, description)
185 # Comparing the provided `description` string, in the form of
188 def CompareVersion(self, operator, description):
189 match = re.search('^(\S+)-(.*?)$', description)