[oe-commits] [openembedded-core] 02/74: oeqa/selftest/package: mark string as raw

git at git.openembedded.org git at git.openembedded.org
Sat Dec 28 14:31:55 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 120e687bad03ad2cf4df4092e8a3f35a569e09f4
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Wed Dec 4 21:58:56 2019 +0000

    oeqa/selftest/package: mark string as raw
    
    This regex uses \ so is actually parsed incorrectly, mark it up as a raw
    string.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/lib/oeqa/selftest/cases/package.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/package.py b/meta/lib/oeqa/selftest/cases/package.py
index 2916278..b87f8dc 100644
--- a/meta/lib/oeqa/selftest/cases/package.py
+++ b/meta/lib/oeqa/selftest/cases/package.py
@@ -135,7 +135,7 @@ class PackageTests(OESelftestTestCase):
                     return False
 
                 # Check debugging symbols works correctly
-                elif re.match("Breakpoint 1.*hello\.c.*4", l):
+                elif re.match(r"Breakpoint 1.*hello\.c.*4", l):
                     return True
 
             self.logger.error("GDB result:\n%d: %s", status, output)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list