r47031 - Apply patch.diff.
adiroiban-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Sun, 20 Mar 2016 11:21:28 -0600 (MDT)
| Newsgroups | gmane.comp.python.twisted.commits |
|---|---|
| Message-ID | <[email protected]> |
Author: adiroiban
Date: Sun Mar 20 11:21:23 2016
New Revision: 47031
Added:
branches/names-server-py3-8195/twisted/names/topfiles/8195.feature
Modified:
branches/names-server-py3-8195/twisted/names/server.py
branches/names-server-py3-8195/twisted/python/dist3.py
Log:
Apply patch.diff.
Modified: branches/names-server-py3-8195/twisted/names/server.py
==============================================================================
--- branches/names-server-py3-8195/twisted/names/server.py (original)
+++ branches/names-server-py3-8195/twisted/names/server.py Sun Mar 20 11:21:23 2016
@@ -260,7 +260,7 @@
return response
- def gotResolverResponse(self, (ans, auth, add), protocol, message, address):
+ def gotResolverResponse(self, ans_auth_add, protocol, message, address):
"""
A callback used by L{DNSServerFactory.handleQuery} for handling the
deferred response from C{self.resolver.query}.
@@ -295,6 +295,7 @@
or L{None} if C{protocol} is a stream protocol.
@type address: L{tuple} or L{None}
"""
+ ans, auth, add = ans_auth_add
response = self._responseFromMessage(
message=message, rCode=dns.OK,
answers=ans, authority=auth, additional=add)
Modified: branches/names-server-py3-8195/twisted/python/dist3.py
==============================================================================
--- branches/names-server-py3-8195/twisted/python/dist3.py (original)
+++ branches/names-server-py3-8195/twisted/python/dist3.py Sun Mar 20 11:21:23 2016
@@ -130,6 +130,7 @@
"twisted.names.dns",
"twisted.names.error",
"twisted.names.hosts",
+ "twisted.names.server",
"twisted.names.resolve",
"twisted.names.test.__init__",
"twisted.persisted.__init__",
@@ -315,6 +316,7 @@
"twisted.names.test.test_hosts",
"twisted.names.test.test_rfc1982",
"twisted.names.test.test_util",
+ "twisted.names.test_server",
"twisted.persisted.test.test_styles",
"twisted.positioning.test.test_base",
"twisted.positioning.test.test_nmea",