get things working with a LazyLibrary hack while we think about cycles
This commit is contained in:
parent
f4537a0feb
commit
d9fe295f4f
5 changed files with 32 additions and 12 deletions
|
|
@ -207,7 +207,7 @@ class Builder(PortList):
|
|||
names.
|
||||
"""
|
||||
if library is None:
|
||||
if hasattr(source, 'library') and isinstance(source, MutableLibrary):
|
||||
if hasattr(source, 'library') and isinstance(source.library, MutableLibrary):
|
||||
library = source.library
|
||||
else:
|
||||
raise BuildError('No library provided (and not present in `source.library`')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue