]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - scripts/dtc/pylibfdt/setup.py
pylibfdt: Fix "invalid escape sequence '\w'" in setup.py
[thirdparty/u-boot.git] / scripts / dtc / pylibfdt / setup.py
index 8baae08770cad8972afc0e36c81729dc83809484..c6fe5a6a446f32bbbeb8af8f838f525ee90db3d6 100755 (executable)
@@ -37,7 +37,7 @@ with open(os.path.join(srcdir, "../README"), "r") as fh:
     long_description = fh.read()
 
 # Decodes a Makefile assignment line into key and value (and plus for +=)
-RE_KEY_VALUE = re.compile('(?P<key>\w+) *(?P<plus>[+])?= *(?P<value>.*)$')
+RE_KEY_VALUE = re.compile(r'(?P<key>\w+) *(?P<plus>[+])?= *(?P<value>.*)$')
 
 def get_top_builddir():
     if '--top-builddir' in sys.argv: