diff options
author | Aimee Linden <aimee@lindenlab.com> | 2010-08-18 11:58:24 +0100 |
---|---|---|
committer | Aimee Linden <aimee@lindenlab.com> | 2010-08-18 11:58:24 +0100 |
commit | fcb240792f0229edd6444e5b152f2022da649c2d (patch) | |
tree | 7e4798e11fcd0ddb10f3454a015f5114c9fd4c5c /indra/lib | |
parent | 302b3a07705730569c1eb692807c1050146d7941 (diff) |
VWR-20747 (SNOW-527) FIXED Don't import deprecated python module sets
Diffstat (limited to 'indra/lib')
-rw-r--r-- | indra/lib/python/indra/ipc/llmessage.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/lib/python/indra/ipc/llmessage.py b/indra/lib/python/indra/ipc/llmessage.py index 6161badc70..91fb36b72c 100644 --- a/indra/lib/python/indra/ipc/llmessage.py +++ b/indra/lib/python/indra/ipc/llmessage.py @@ -26,8 +26,6 @@ THE SOFTWARE. $/LicenseInfo$ """ -from sets import Set, ImmutableSet - from compatibility import Incompatible, Older, Newer, Same from tokenstream import TokenStream @@ -44,8 +42,8 @@ class Template: def compatibleWithBase(self, base): messagenames = ( - ImmutableSet(self.messages.keys()) - | ImmutableSet(base.messages.keys()) + frozenset(self.messages.keys()) + | frozenset(base.messages.keys()) ) compatibility = Same() |