rrs_upgrade_history: record start marker in log file

Make it easier to see where each session starts when looking back
through the log.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2019-08-14 22:32:58 +12:00
parent 6344724afd
commit 00548d5ab8

View File

@ -88,6 +88,8 @@ def run_internal(maintplanlayerbranch, commit, commitdate, options, logger, bitb
def upgrade_history(options, logger):
from rrs.models import MaintenancePlan, RecipeUpgrade, Release, Milestone
logger.debug('=== BEGIN; cmdline: %s' % (' '.join(sys.argv)))
if options.plan:
maintplans = MaintenancePlan.objects.filter(id=int(options.plan))
if not maintplans.exists():