summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/prservice.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/prservice.py')
-rw-r--r--meta/lib/oeqa/selftest/prservice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/prservice.py b/meta/lib/oeqa/selftest/prservice.py
index 66638de8f8..1b9a510fd4 100644
--- a/meta/lib/oeqa/selftest/prservice.py
+++ b/meta/lib/oeqa/selftest/prservice.py
@@ -27,7 +27,7 @@ class BitbakePrTests(oeSelfTest):
27 package_stamps_path = "/".join(stampdata[:-1]) 27 package_stamps_path = "/".join(stampdata[:-1])
28 stamps = [] 28 stamps = []
29 for stamp in os.listdir(package_stamps_path): 29 for stamp in os.listdir(package_stamps_path):
30 find_stamp = re.match("%s\.%s\.([a-z0-9]{32})" % (prefix, recipe_task), stamp) 30 find_stamp = re.match("%s\.%s\.([a-z0-9]{32})" % (re.escape(prefix), recipe_task), stamp)
31 if find_stamp: 31 if find_stamp:
32 stamps.append(find_stamp.group(1)) 32 stamps.append(find_stamp.group(1))
33 self.assertFalse(len(stamps) == 0, msg="Cound not find stamp for task %s for recipe %s" % (recipe_task, package_name)) 33 self.assertFalse(len(stamps) == 0, msg="Cound not find stamp for task %s for recipe %s" % (recipe_task, package_name))