summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/recipeutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/recipeutils.py')
-rw-r--r--meta/lib/oe/recipeutils.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index 83923e9961..9d45b4216e 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -645,6 +645,12 @@ def get_recipe_pv_without_srcpv(pv, uri_type):
645 pv = m.group('ver') 645 pv = m.group('ver')
646 pfx = m.group('pfx') 646 pfx = m.group('pfx')
647 sfx = m.group('sfx') 647 sfx = m.group('sfx')
648 else:
649 regex = re.compile("(?P<pfx>(v|r|))(?P<ver>((\d+[\.\-_]*)+))")
650 m = regex.match(pv)
651 if m:
652 pv = m.group('ver')
653 pfx = m.group('pfx')
648 654
649 return (pv, pfx, sfx) 655 return (pv, pfx, sfx)
650 656