Skip to content
Snippets Groups Projects
Verified Commit 4fbf489f authored by Doug White's avatar Doug White Committed by sunpoet
Browse files

mail/py-pyspf: Add lifetime argument back

- Fix 2920ddff
- Bump PORTREVISION for package change

PR:		282388
parent 4c6dcb62
No related branches found
No related tags found
No related merge requests found
PORTNAME= pyspf
PORTVERSION= 2.0.14
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= mail python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
......
......@@ -5,7 +5,7 @@
try:
# FIXME: how to disable TCP fallback in dnspython if not tcpfallback?
- answers = dns.resolver.query(name, qtype, lifetime=timeout)
+ answers = dns.resolver.resolve(name, qtype)
+ answers = dns.resolver.resolve(name, qtype, lifetime=timeout)
for rdata in answers:
if qtype == 'A' or qtype == 'AAAA':
retVal.append(((name, qtype), rdata.address))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment