Compare commits
2 Commits
73ce794fec
...
d6ab8a1f34
Author | SHA1 | Date | |
---|---|---|---|
d6ab8a1f34 | |||
83e82db5da |
@ -48,5 +48,5 @@ from .utils import ports2data, oneshot
|
|||||||
|
|
||||||
__author__ = 'Jan Petykiewicz'
|
__author__ = 'Jan Petykiewicz'
|
||||||
|
|
||||||
__version__ = '2.7'
|
__version__ = '3.0'
|
||||||
version = __version__ # legacy
|
version = __version__ # legacy
|
||||||
|
@ -1082,7 +1082,7 @@ class LazyLibrary(ILibrary):
|
|||||||
raise LibraryError(
|
raise LibraryError(
|
||||||
f'Detected multiple simultaneous lookups of "{key}".\n'
|
f'Detected multiple simultaneous lookups of "{key}".\n'
|
||||||
'This may be caused by an invalid (cyclical) reference, or buggy code.\n'
|
'This may be caused by an invalid (cyclical) reference, or buggy code.\n'
|
||||||
'If you are lazy-loading a file, try a non-lazy load and check for refernce cycles.' # TODO give advice on finding cycles
|
'If you are lazy-loading a file, try a non-lazy load and check for reference cycles.' # TODO give advice on finding cycles
|
||||||
)
|
)
|
||||||
|
|
||||||
self._lookups_in_progress.add(key)
|
self._lookups_in_progress.add(key)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user