VWR-20747 (SNOW-527) FIXED Don't import deprecated python module sets

master
Aimee Linden 2010-08-18 11:58:24 +01:00
parent 302b3a0770
commit fcb240792f
2 changed files with 3 additions and 4 deletions

View File

@ -150,6 +150,7 @@ blino Nakamura
VWR-17 VWR-17
Boroondas Gupte Boroondas Gupte
SNOW-278 SNOW-278
SNOW-527
VWR-233 VWR-233
WEB-262 WEB-262
Bulli Schumann Bulli Schumann

View File

@ -26,8 +26,6 @@ THE SOFTWARE.
$/LicenseInfo$ $/LicenseInfo$
""" """
from sets import Set, ImmutableSet
from compatibility import Incompatible, Older, Newer, Same from compatibility import Incompatible, Older, Newer, Same
from tokenstream import TokenStream from tokenstream import TokenStream
@ -44,8 +42,8 @@ class Template:
def compatibleWithBase(self, base): def compatibleWithBase(self, base):
messagenames = ( messagenames = (
ImmutableSet(self.messages.keys()) frozenset(self.messages.keys())
| ImmutableSet(base.messages.keys()) | frozenset(base.messages.keys())
) )
compatibility = Same() compatibility = Same()