https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
---
 distro_tracker/vendor/kali/rules.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/distro_tracker/vendor/kali/rules.py 
b/distro_tracker/vendor/kali/rules.py
index 2486569..55d3a81 100644
--- a/distro_tracker/vendor/kali/rules.py
+++ b/distro_tracker/vendor/kali/rules.py
@@ -30,7 +30,7 @@ def classify_message(msg, package, keyword):
 
     # Recognize build logs
     if msg.get('X-Rebuildd-Host'):
-        match = re.search('build of (\S+)_', msg.get('Subject'))
+        match = re.search(r'build of (\S+)_', msg.get('Subject'))
         if match:
             keyword = 'build'
             package = match.group(1)
-- 
2.14.1

Reply via email to