]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
selftest/prservice.py: Sanitize package version when looking for stamp
authorMariano Lopez <mariano.lopez@linux.intel.com>
Thu, 10 Mar 2016 10:29:21 +0000 (10:29 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Mar 2016 16:50:44 +0000 (16:50 +0000)
commitdce7290a4f57cf7a7bc1568eecc43bfa49ea8e76
tree9a1e154293095ea083518265084bac411c61c0b8
parentcbd87f31980f80abd76a213d9bbe00b83063f831
selftest/prservice.py: Sanitize package version when looking for stamp

Currently when using a git version the check for the stamp, using regex,
will fail because of plus sign in the version.

With this change the version is escaped before adding it to the regex.

(From OE-Core rev: 1aefa6a4dec84a5581aab70451bb84801b3b3615)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/prservice.py