Commit 2fccf2fc authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'PyUtils_correct_arrow_direction_in_MetaDiff' into 'master'

PyUtils: Fix arrow direction in MetaDiff

See merge request atlas/athena!48196
parents fb30b95f 610d1fc6
......@@ -76,9 +76,9 @@ def print_diff(parent_key, obj1, obj2, diff_format):
except (AttributeError, TypeError,):
pass
result += """\
> {}
----------
< {}
----------
> {}
""".format(
summary(obj1), summary(obj2)
)
......@@ -107,9 +107,9 @@ def print_diff_type(parent_key, obj1, obj2, diff_format):
if parent_key is not None:
result += "{}:\n".format(parent_key)
result += """\
> {} (type: {})
----------
< {} (type: {})
----------
> {} (type: {})
""".format(
summary(obj1), type(obj1), summary(obj2), type(obj2)
)
......@@ -145,9 +145,9 @@ def print_diff_dict_keys(parent_key, obj1, obj2, diff_format):
if parent_key is not None:
result += "{}:\n".format(parent_key)
result += """\
> {}
----------
< {}
----------
> {}
""".format(
summary(obj1), summary(obj2)
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment