Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
42b3269e
Commit
42b3269e
authored
May 19, 2018
by
Martin Reinecke
Browse files
fix
parent
a7bc5e41
Pipeline
#29488
failed with stages
in 3 minutes and 54 seconds
Changes
1
Pipelines
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
Supports
Markdown
0%
Try again
or
attach a new 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