Skip to contentSkip to conversation

Fix escape sequence

PATCH New George Liu 1 participant 1 message Oct 18, 2021

lore
Share & tools
lore

George Liu

author
#0 lore raw

PATCH 1/1 Fix escape sequence

---
 meta-networking/recipes-daemons/ippool/ippool_1.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-daemons/ippool/ippool_1.3.bb +1 -1
index 19fbd0fa2..9b8317d7c 100644
@@ -96,7 +96,7 @@ def get_ppp_version(d):
         return None
 
     bb.debug(1, "pppd plugin dir %s" % pppd_plugin)
-    r = re.compile("\d*\.\d*\.\d*")
+    r = re.compile(r'\d*\.\d*\.\d*')
     for f in os.listdir(pppd_plugin):
         if os.path.isdir(os.path.join(pppd_plugin, f)):
             ma = r.match(f)
Signature · 1 line
2.30.2