From fcb240792f0229edd6444e5b152f2022da649c2d Mon Sep 17 00:00:00 2001
From: Aimee Linden <aimee@lindenlab.com>
Date: Wed, 18 Aug 2010 11:58:24 +0100
Subject: [PATCH] VWR-20747 (SNOW-527) FIXED Don't import deprecated python
 module sets

---
 doc/contributions.txt                   | 1 +
 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()
-- 
GitLab