ippool: silence a DeprecationWarning

Use regex strings (r’’)
Fixes

meta-networking/recipes-daemons/ippool/ippool_1.3.bb:99:
DeprecationWarning: invalid escape sequence \d
  r = re.compile("\d*\.\d*\.\d*")

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2021-11-25 10:12:39 -08:00
parent 236822433d
commit 6d8edf440c
@@ -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)