Skip to content
Snippets Groups Projects
Commit b8b14c84 authored by Todd Gamblin's avatar Todd Gamblin Committed by GitHub
Browse files

Bugfix: restore `__contains__` method after ArchSpec refactor. (#2481)

parent f0dcb5bb
No related branches found
No related tags found
No related merge requests found
...@@ -449,6 +449,9 @@ def __str__(self): ...@@ -449,6 +449,9 @@ def __str__(self):
def __repr__(self): def __repr__(self):
return str(self) return str(self)
def __contains__(self, string):
return string in str(self)
@key_ordering @key_ordering
class CompilerSpec(object): class CompilerSpec(object):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment