Skip to content

Commit 01103a8

Browse files
targosaduh95
authored andcommitted
tools: fix invalid escape sequence in mkssldef
Use a raw string for the regex. PR-URL: #52624 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 3026401 commit 01103a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/mkssldef.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
forfilenameinfilenames:
2828
forlineinopen(filename).readlines():
29-
name, _, _, meta, _=re.split('\s+', line)
29+
name, _, _, meta, _=re.split(r'\s+', line)
3030
ifany(p.match(name) forpinexcludes): continue
3131
meta=meta.split(':')
3232
assertmeta[0] in ('EXIST', 'NOEXIST')

0 commit comments

Comments
 (0)