VWR-20747 (SNOW-527) FIXED Don't import deprecated python module sets
parent
302b3a0770
commit
fcb240792f
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue