Excluded from coverage code I'm not currently using.
This commit is contained in:
parent
422f8b134a
commit
094e821395
|
|
@ -1101,7 +1101,8 @@ class Schematic(object):
|
|||
""" A list of all the components. """
|
||||
if exclude_power:
|
||||
components = [c for c in self.components if not c.is_power]
|
||||
else:
|
||||
else: # pragma: no cover
|
||||
# Currently unused
|
||||
components = [c for c in self.components]
|
||||
for sch in self.sheets:
|
||||
components.extend(sch.sheet.get_components(exclude_power))
|
||||
|
|
|
|||
Loading…
Reference in New Issue