Skip to content

Commit

Permalink
solver: do not raise error when no assembly is found
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder committed Jun 3, 2018
1 parent 4b1a3b9 commit 939f571
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ def _solve(objs=None,recursive=None,reportFailed=True,
assemblies.append(obj)

if not assemblies:
raise RuntimeError('no assembly found')
logger.info('no assembly found')
return True

if recursive:
# Get all dependent object, including external ones, and return as a
Expand Down

0 comments on commit 939f571

Please sign in to comment.