Blame SOURCES/fix-typo-in-resolver.patch
|
|
e267d0 |
From 84d3c7dffec9c0a380aa5f696ca728879dbe38ac Mon Sep 17 00:00:00 2001
|
|
|
e267d0 |
From: Martin Basti <mbasti@redhat.com>
|
|
|
e267d0 |
Date: Fri, 29 Jan 2016 18:23:22 +0100
|
|
|
e267d0 |
Subject: [PATCH] Fix typo in resolver.py
|
|
|
e267d0 |
|
|
|
e267d0 |
---
|
|
|
e267d0 |
dns/resolver.py | 2 +-
|
|
|
e267d0 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
e267d0 |
|
|
|
e267d0 |
diff --git a/dns/resolver.py b/dns/resolver.py
|
|
|
e267d0 |
index 55359fa..b2ca999 100644
|
|
|
e267d0 |
--- a/dns/resolver.py
|
|
|
e267d0 |
+++ b/dns/resolver.py
|
|
|
e267d0 |
@@ -95,7 +95,7 @@ class NoNameservers(dns.exception.DNSException):
|
|
|
e267d0 |
def _fmt_kwargs(self, **kwargs):
|
|
|
e267d0 |
srv_msgs = []
|
|
|
e267d0 |
for err in kwargs['errors']:
|
|
|
e267d0 |
- srv_msgs.append('Server %s %s port %s anwered %s' % (err[0],
|
|
|
e267d0 |
+ srv_msgs.append('Server %s %s port %s answered %s' % (err[0],
|
|
|
e267d0 |
'TCP' if err[1] else 'UDP', err[2], err[3]))
|
|
|
e267d0 |
return super(NoNameservers, self)._fmt_kwargs(
|
|
|
e267d0 |
query=kwargs['request'].question, errors='; '.join(srv_msgs))
|