summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 43ee1562cd..c7e058d0d6 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -466,8 +466,6 @@ def srcrev_internal_helper(ud, d, name):
466 pn = data.getVar("PN", d, 1) 466 pn = data.getVar("PN", d, 1)
467 rev = data.getVar("SRCREV_%s_pn-%s" % (name, pn), d, 1) 467 rev = data.getVar("SRCREV_%s_pn-%s" % (name, pn), d, 1)
468 if not rev: 468 if not rev:
469 rev = data.getVar("SRCREV_pn-%s_%s" % (pn, name), d, 1)
470 if not rev:
471 rev = data.getVar("SRCREV_%s" % name, d, 1) 469 rev = data.getVar("SRCREV_%s" % name, d, 1)
472 if not rev: 470 if not rev:
473 rev = data.getVar("SRCREV", d, 1) 471 rev = data.getVar("SRCREV", d, 1)