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
ift
NIFTy
Commits
72ede95a
Commit
72ede95a
authored
Jun 16, 2018
by
Philipp Arras
Browse files
Add error message to MultiDomains
parent
918c2443
Pipeline
#31121
passed with stages
in 1 minute and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty4/multi/multi_domain.py
View file @
72ede95a
...
@@ -49,7 +49,7 @@ class MultiDomain(frozendict):
...
@@ -49,7 +49,7 @@ class MultiDomain(frozendict):
def
__init__
(
self
,
domain
,
_callingfrommake
=
False
):
def
__init__
(
self
,
domain
,
_callingfrommake
=
False
):
if
not
_callingfrommake
:
if
not
_callingfrommake
:
raise
NotImplementedError
raise
NotImplementedError
(
'To create a MultiDomain call `MultiDomain.make()`.'
)
super
(
MultiDomain
,
self
).
__init__
(
domain
)
super
(
MultiDomain
,
self
).
__init__
(
domain
)
@
staticmethod
@
staticmethod
...
...
Write
Preview
Supports
Markdown
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