summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/recipeutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index 044f1bfa61..102789ce73 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -1075,7 +1075,7 @@ def get_recipe_upstream_version(rd):
1075 try: 1075 try:
1076 revision = ud.method.latest_revision(ud, rd, 'default') 1076 revision = ud.method.latest_revision(ud, rd, 'default')
1077 upversion = pv 1077 upversion = pv
1078 if revision != rd.getVar("SRCREV"): 1078 if revision != ud.revision:
1079 upversion = upversion + "-new-commits-available" 1079 upversion = upversion + "-new-commits-available"
1080 except bb.fetch2.FetchError as e: 1080 except bb.fetch2.FetchError as e:
1081 bb.warn("Unable to obtain latest revision: {}".format(e)) 1081 bb.warn("Unable to obtain latest revision: {}".format(e))