forked from pool/python-dns-lexicon
- Fix tests (the only excluded tests are test_hetzner) - Add fix_regexps.patch to fix gh#AnalogJ/lexicon#332 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dns-lexicon?expand=0&rev=10
14 lines
536 B
Diff
14 lines
536 B
Diff
--- a/lexicon/providers/gehirn.py
|
|
+++ b/lexicon/providers/gehirn.py
|
|
@@ -38,8 +38,8 @@ FORMAT_RE = {
|
|
"CNAME": re.compile("(?P<cname>.+)"),
|
|
"TXT": re.compile("(?P<data>.+)"),
|
|
"NS": re.compile("(?P<nsdname>.+)"),
|
|
- "MX": re.compile("(?P<prio>\d+)\s+(?P<exchange>.+)"),
|
|
- "SRV": re.compile("(?P<prio>\d+)\s+(?P<weight>\d+)\s+(?P<port>\d+)\s+(?P<target>.+)"),
|
|
+ "MX": re.compile(r"(?P<prio>\d+)\s+(?P<exchange>.+)"),
|
|
+ "SRV": re.compile(r"(?P<prio>\d+)\s+(?P<weight>\d+)\s+(?P<port>\d+)\s+(?P<target>.+)"),
|
|
}
|
|
|
|
|