ebuild_logentries = {}
all_logentries = collect_messages()
if cpv in all_logentries:
- all_logentries[cpv] = _merge_logentries(ebuild_logentries, all_logentries[cpv])
+ # Messages generated by the python elog implementation are assumed
+ # to come first. For example, this ensures correct order for einfo
+ # messages that are generated prior to the setup phase.
+ all_logentries[cpv] = \
+ _merge_logentries(all_logentries[cpv], ebuild_logentries)
else:
all_logentries[cpv] = ebuild_logentries