summaryrefslogtreecommitdiffstats
path: root/meta/classes/perl-version.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/perl-version.bbclass')
-rw-r--r--meta/classes/perl-version.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/perl-version.bbclass b/meta/classes/perl-version.bbclass
index fafe68a775..bafd96518a 100644
--- a/meta/classes/perl-version.bbclass
+++ b/meta/classes/perl-version.bbclass
@@ -13,7 +13,7 @@ def get_perl_version(d):
13 return None 13 return None
14 l = f.readlines(); 14 l = f.readlines();
15 f.close(); 15 f.close();
16 r = re.compile("^version='(\d*\.\d*\.\d*)'") 16 r = re.compile(r"^version='(\d*\.\d*\.\d*)'")
17 for s in l: 17 for s in l:
18 m = r.match(s) 18 m = r.match(s)
19 if m: 19 if m: