Skip to content

Commit

Permalink
hltDumpStream: reorder error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Jun 12, 2015
1 parent af9ccd9 commit 5b140d2
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions HLTrigger/Configuration/scripts/hltDumpStream
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,6 @@ def getEndPath(output):
if searchOut.found:
out = o.label_()
break
else:
print " *** corresponding EndPath not found ***"
return out


Expand Down Expand Up @@ -273,11 +271,14 @@ def dumpStream(stream):
for path in sorted(unassigned):
print dumpPath(path, out, end)

missing = assigned - allpaths
if missing:
print ' *** paths missing from the output module ***'
for path in sorted(missing):
print dumpPath(path, out, end)
if not end:
print ' *** corresponding EndPath not found ***'
else:
missing = assigned - allpaths
if missing:
print ' *** paths missing from the EndPath\'s output module ***'
for path in sorted(missing):
print dumpPath(path, out, end)


def dumpOutput(stream):
Expand Down

0 comments on commit 5b140d2

Please sign in to comment.