Skip to content

Commit

Permalink
Fix pretty_print.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Jun 28, 2024
1 parent 94ff183 commit 190dcb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion order/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def pretty_print(self, xsec_key=None, offset=40, max_depth=-1, stream=None, _dep
xsec = self.xsecs.get(xsec_key)
entry += " " * _depth + (xsec.str(**kwargs) if xsec else "no cross-section")

stream.write(six.b(entry + "\n") if six.PY3 else (entry + "\n"))
stream.write(entry + "\n")

# stop here when max_depth is reached
if 0 <= max_depth <= _depth:
Expand Down

0 comments on commit 190dcb8

Please sign in to comment.