Skip to content

Commit d5dd777

Browse files
committed
fix source of pprint indentation
1 parent a8dc50f commit d5dd777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyomo/core/base/component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def _pprint_base_impl(
379379
if _attr or _name or _doc:
380380
ostream.write("\n")
381381
# We only indent everything if we printed the header
382-
ostream = StreamIndenter(ostream)
382+
ostream = StreamIndenter(ostream, self._PPRINT_INDENT)
383383

384384
if not _constructed:
385385
# HACK: for backwards compatibility, Abstract blocks will

0 commit comments

Comments
 (0)