Skip to content

Commit

Permalink
Merge pull request #398 from ankostis/singleton_errlog
Browse files Browse the repository at this point in the history
feat(conf): explain which singleton is already instanciated
  • Loading branch information
minrk authored May 3, 2017
2 parents 0aa4350 + c027b51 commit 3d41bb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions traitlets/config/configurable.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,8 @@ def instance(cls, *args, **kwargs):
return cls._instance
else:
raise MultipleInstanceError(
'Multiple incompatible subclass instances of '
'%s are being created.' % cls.__name__
"An incompatible sibling of '%s' is already instanciated"
" as singleton: %s" % (cls.__name__, type(cls._instance).__name__)
)

@classmethod
Expand Down

0 comments on commit 3d41bb7

Please sign in to comment.