Commit 42b3269e authored by Martin Reinecke's avatar Martin Reinecke
Browse files

fix

parent a7bc5e41
Pipeline #29488 failed with stages
in 3 minutes and 54 seconds
...@@ -55,7 +55,6 @@ class MultiDomain(frozendict): ...@@ -55,7 +55,6 @@ class MultiDomain(frozendict):
def make(domain): def make(domain):
if isinstance(domain, MultiDomain): if isinstance(domain, MultiDomain):
return domain return domain
print type(domain)
if not isinstance(domain, dict): if not isinstance(domain, dict):
raise TypeError("dict expected") raise TypeError("dict expected")
tmp = {} tmp = {}
...@@ -64,7 +63,6 @@ class MultiDomain(frozendict): ...@@ -64,7 +63,6 @@ class MultiDomain(frozendict):
raise TypeError("keys must be strings") raise TypeError("keys must be strings")
tmp[key] = DomainTuple.make(value) tmp[key] = DomainTuple.make(value)
domain = frozendict(tmp) domain = frozendict(tmp)
print tmp
obj = MultiDomain._domainCache.get(domain) obj = MultiDomain._domainCache.get(domain)
if obj is not None: if obj is not None:
return obj return obj
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment