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 | |
parent | 302b3a07705730569c1eb692807c1050146d7941 (diff) |
VWR-20747 (SNOW-527) FIXED Don't import deprecated python module sets
-rw-r--r-- | doc/contributions.txt | 1 | ||||
-rw-r--r-- | indra/lib/python/indra/ipc/llmessage.py | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/doc/contributions.txt b/doc/contributions.txt index f7dada053b..b49a3649d5 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -150,6 +150,7 @@ blino Nakamura VWR-17 Boroondas Gupte SNOW-278 + SNOW-527 VWR-233 WEB-262 Bulli Schumann 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() |