From 067bf17f2f915301e808f91ea64b80de3d19af71 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 18 Nov 2018 22:20:52 +0100 Subject: [PATCH] use raw string for MAILDOMAIN_BLACKLIST (regexes) --- nsupdate/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsupdate/settings/base.py b/nsupdate/settings/base.py index 1da50c9..b7f287b 100644 --- a/nsupdate/settings/base.py +++ b/nsupdate/settings/base.py @@ -61,7 +61,7 @@ NAMESERVERS = ['8.8.8.8', '1.1.1.1', ] # we use a multiline string here with one regex per line (used with re.search). # the domains given below are just examples, please configure your own # regexes in your local settings file. -MAILDOMAIN_BLACKLIST = """ +MAILDOMAIN_BLACKLIST = r""" mailcatch\.com$ mailspam\.xyz$ """