r47097 - Fix linter.

adiroiban-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Mon, 28 Mar 2016 08:10:07 -0600 (MDT)
Newsgroups gmane.comp.python.twisted.commits
Message-ID <[email protected]>
Author: adiroiban
Date: Mon Mar 28 08:09:52 2016
New Revision: 47097

Modified:
   branches/names-server-py3-8195-2/twisted/names/server.py

Log:
Fix linter.

Modified: branches/names-server-py3-8195-2/twisted/names/server.py
==============================================================================
--- branches/names-server-py3-8195-2/twisted/names/server.py	(original)
+++ branches/names-server-py3-8195-2/twisted/names/server.py	Mon Mar 28 08:09:52 2016
@@ -261,7 +261,7 @@
         return response
 
 
-    def gotResolverResponse(self, ans_auth_add, protocol, message, address):
+    def gotResolverResponse(self, response, protocol, message, address):
         """
         A callback used by L{DNSServerFactory.handleQuery} for handling the
         deferred response from C{self.resolver.query}.
@@ -275,8 +275,8 @@
         The resolved answers count will be logged if C{DNSServerFactory.verbose}
         is C{>1}.
 
-        @param ans_auth_add: Answer records, authority records and additional records
-        @type ans_auth_add: L{tuple} of L{list} of L{dns.RRHeader} instances
+        @param response: Answer records, authority records and additional records
+        @type response: L{tuple} of L{list} of L{dns.RRHeader} instances
 
         @param protocol: The DNS protocol instance to which to send a response
             message.
@@ -290,7 +290,7 @@
             or L{None} if C{protocol} is a stream protocol.
         @type address: L{tuple} or L{None}
         """
-        ans, auth, add = ans_auth_add
+        ans, auth, add = response
         response = self._responseFromMessage(
             message=message, rCode=dns.OK,
             answers=ans, authority=auth, additional=add)