Skip to content

Commit dccba0d

Browse files
author
ajohns
committed
Merge branch 'issue_1095-rez-test-variant'
2 parents a195fea + 19d812c commit dccba0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/rez/utils/resources.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ def __repr__(self):
176176
def __eq__(self, other):
177177
return (self.key == other.key) and (self.variables == other.variables)
178178

179+
def __ne__(self, other):
180+
return not self.__eq__(other)
181+
179182
def __hash__(self):
180183
return hash(self._hashable_repr())
181184

0 commit comments

Comments
 (0)