summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 170069460d..d020964a01 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -327,7 +327,7 @@ python () {
327 327
328 # If PRINC is set, try and increase the PR value by the amount specified 328 # If PRINC is set, try and increase the PR value by the amount specified
329 princ = bb.data.getVar('PRINC', d, True) 329 princ = bb.data.getVar('PRINC', d, True)
330 if princ: 330 if princ and princ != "0":
331 pr = bb.data.getVar('PR', d, True) 331 pr = bb.data.getVar('PR', d, True)
332 pr_prefix = re.search("\D+",pr) 332 pr_prefix = re.search("\D+",pr)
333 prval = re.search("\d+",pr) 333 prval = re.search("\d+",pr)