summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/providers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py
index 24cb217edf..fcee6dc4f7 100644
--- a/bitbake/lib/bb/providers.py
+++ b/bitbake/lib/bb/providers.py
@@ -130,7 +130,7 @@ def findPreferredProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
130 m = re.match('(\d+:)*(.*)(_.*)*', preferred_v) 130 m = re.match('(\d+:)*(.*)(_.*)*', preferred_v)
131 if m: 131 if m:
132 if m.group(1): 132 if m.group(1):
133 preferred_e = int(m.group(1)[:-1]) 133 preferred_e = m.group(1)[:-1]
134 else: 134 else:
135 preferred_e = None 135 preferred_e = None
136 preferred_v = m.group(2) 136 preferred_v = m.group(2)