diff options
Diffstat (limited to 'indra/lib')
-rw-r--r-- | indra/lib/python/indra/ipc/llmessage.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/lib/python/indra/ipc/llmessage.py b/indra/lib/python/indra/ipc/llmessage.py index 91fb36b72c..6161badc70 100644 --- a/indra/lib/python/indra/ipc/llmessage.py +++ b/indra/lib/python/indra/ipc/llmessage.py @@ -26,6 +26,8 @@ THE SOFTWARE. $/LicenseInfo$ """ +from sets import Set, ImmutableSet + from compatibility import Incompatible, Older, Newer, Same from tokenstream import TokenStream @@ -42,8 +44,8 @@ class Template: def compatibleWithBase(self, base): messagenames = ( - frozenset(self.messages.keys()) - | frozenset(base.messages.keys()) + ImmutableSet(self.messages.keys()) + | ImmutableSet(base.messages.keys()) ) compatibility = Same() |