summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/buildhistory.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index 3b6ce99413..d39408b9c8 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -554,7 +554,10 @@ def _get_srcrev_values(d):
554 ud = urldata[scm] 554 ud = urldata[scm]
555 for name in ud.names: 555 for name in ud.names:
556 rev = ud.method.sortable_revision(scm, ud, d, name) 556 rev = ud.method.sortable_revision(scm, ud, d, name)
557 if rev.startswith(autoinc_templ): 557 # Clean this up when we next bump bitbake version
558 if type(rev) != str:
559 autoinc, rev = rev
560 elif rev.startswith(autoinc_templ):
558 rev = rev[len(autoinc_templ):] 561 rev = rev[len(autoinc_templ):]
559 dict_srcrevs[name] = rev 562 dict_srcrevs[name] = rev
560 if 'tag' in ud.parm: 563 if 'tag' in ud.parm: