Skip to content

Commit 9427b47

Browse files
committed
More verbose logging of diff results if --verbose.
1 parent 83e227a commit 9427b47

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

planemo/shed/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,13 @@ def _diff_in(ctx, working, realized_repository, **kwds):
351351
cmd += " >> '%s'" % output
352352
raw_diff = shell(cmd)
353353
exit = raw_diff or xml_diff
354+
if not raw:
355+
if xml_diff:
356+
ctx.vlog("One or more shed XML file(s) different!")
357+
if raw_diff:
358+
ctx.vlog("One or more non-shed XML file(s) different.")
359+
if not xml_diff and not raw_diff:
360+
ctx.vlog("No differences.")
354361
return exit
355362

356363

0 commit comments

Comments
 (0)