]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
task/kernel: fix invalid escape sequence
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Sat, 3 Aug 2024 18:24:27 +0000 (20:24 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Sun, 4 Aug 2024 23:05:11 +0000 (01:05 +0200)
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
teuthology/task/kernel.py

index ca4718784c298b10b0f83f5ca2a084e52c431348..59242d31b43a217f0be90087847782c741d9bc8b 100644 (file)
@@ -1033,7 +1033,7 @@ def get_image_version(remote, path):
         raise UnsupportedPackageTypeError(remote)
 
     for file in files.split('\n'):
-        match = re.search('/lib/modules/(.*)/modules\.order$', file)
+        match = re.search(r'/lib/modules/(.*)/modules\.order$', file)
         if match:
             version = match.group(1)
             break