Skip to content

Commit

Permalink
rel_idx fix
Browse files Browse the repository at this point in the history
  • Loading branch information
naylor-b committed Aug 12, 2020
1 parent 30ed95a commit f833b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmdao/core/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -3484,7 +3484,7 @@ def list_outputs(self,
if out_stream is _DEFAULT_OUT_STREAM:
out_stream = sys.stdout

rel_idx = len(self.name) + 1 if self.name else 0
rel_idx = len(self.pathname) + 1 if self.pathname else 0

states = set(self._list_states())

Expand Down

0 comments on commit f833b51

Please sign in to comment.