Skip to content
Snippets Groups Projects
Commit 9d3479ed authored by Emmanuel Le Guirriec's avatar Emmanuel Le Guirriec
Browse files

Use TypeError if new sequence is not a sequence

parent 1908da15
No related branches found
No related tags found
No related merge requests found
......@@ -219,7 +219,7 @@ class ComponentAccumulator(object):
raise ConfigurationError('{} is not the Conf2 Sequence, ComponentAccumulator handles only the former'.format(newseq.name()))
if not isSequence(newseq):
raise ConfigurationError('{} is not a sequence'.format(newseq.name))
raise TypeError('%s is not a sequence' % newseq.name)
if parentName is None:
parent=self._sequence
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment