Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neel Shah
NIFTy
Commits
42b3269e
Commit
42b3269e
authored
May 19, 2018
by
Martin Reinecke
Browse files
fix
parent
a7bc5e41
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty4/multi/multi_domain.py
View file @
42b3269e
...
...
@@ -55,7 +55,6 @@ class MultiDomain(frozendict):
def
make
(
domain
):
if
isinstance
(
domain
,
MultiDomain
):
return
domain
print
type
(
domain
)
if
not
isinstance
(
domain
,
dict
):
raise
TypeError
(
"dict expected"
)
tmp
=
{}
...
...
@@ -64,7 +63,6 @@ class MultiDomain(frozendict):
raise
TypeError
(
"keys must be strings"
)
tmp
[
key
]
=
DomainTuple
.
make
(
value
)
domain
=
frozendict
(
tmp
)
print
tmp
obj
=
MultiDomain
.
_domainCache
.
get
(
domain
)
if
obj
is
not
None
:
return
obj
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment