Commit 8c7d198b authored by Theo Steininger's avatar Theo Steininger

Improved exception text in distributor_factory.py a little bit.

parent 41c20c69
Pipeline #11070 passed with stage
...@@ -84,7 +84,7 @@ class _distributor_factory(object): ...@@ -84,7 +84,7 @@ class _distributor_factory(object):
if not all(x == strat_list[0] for x in strat_list): if not all(x == strat_list[0] for x in strat_list):
raise ValueError(about_cstring( raise ValueError(about_cstring(
"ERROR: The distribution-strategy must be the same on " + "ERROR: The distribution-strategy must be the same on " +
"all nodes!")) "all nodes! Got: %s") % distribution_strategy)
# Check for an hdf5 file and open it if given # Check for an hdf5 file and open it if given
if 'h5py' in gdi and alias is not None: if 'h5py' in gdi and alias is not None:
......
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