commit 8ae64064b6ede9acf2de8875e3c2fdea1cb036c7
parent 380bccacf0f2e74e8449751241cd2d0821e71271
Author: ThomasV <thomasv@gitorious>
Date: Fri, 31 Jul 2015 21:56:22 +0200
dont silence dns errors
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/lib/contacts.py b/lib/contacts.py
@@ -40,10 +40,7 @@ class Contacts(StoreDict):
def resolve_openalias(self, url):
# support email-style addresses, per the OA standard
url = url.replace('@', '.')
- try:
- records, validated = dnssec.query(url, dns.rdatatype.TXT)
- except:
- return
+ records, validated = dnssec.query(url, dns.rdatatype.TXT)
prefix = 'btc'
for record in records:
string = record.strings[0]