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