Skip to content

Commit

Permalink
fix xml printing
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenworsley committed Feb 19, 2025
1 parent 5177750 commit d53ac61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/iris/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -2324,5 +2324,4 @@ def equalise_cubes(

def _print_xml(doc):
result = doc.toprettyxml(indent=" ")
result.replace("
", "\n")
return result
return result.replace("
", "\n")

0 comments on commit d53ac61

Please sign in to comment.