Make the error message a little more obvious what happened

parent 46d77f98
......@@ -117,8 +117,8 @@ class ComparatorManager(object):
except ImportError:
if idx < len(xs) - 1:
continue
raise ImportError("Could not import {}{}".format(
"any of" if len(xs) > 1 else '',
raise ImportError("Could not import {}: {}".format(
"any of comparators" if len(xs) > 1 else 'comparator',
', '.join(xs)
))
......
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