Browse Source

[1261] a few typos

Jelte Jansen 13 years ago
parent
commit
cf136247fa
2 changed files with 3 additions and 3 deletions
  1. 1 1
      src/bin/xfrin/tests/xfrin_test.py
  2. 2 2
      src/bin/xfrin/xfrin.py.in

+ 1 - 1
src/bin/xfrin/tests/xfrin_test.py

@@ -528,7 +528,7 @@ class TestXfrinConnection(unittest.TestCase):
 
         verify_ctx = None
         if self.soa_response_params['tsig']:
-            # xfrin (curreently) always uses TCP.  strip off the length field.
+            # xfrin (currently) always uses TCP.  strip off the length field.
             query_data = self.conn.query_data[2:]
             query_message = Message(Message.PARSE)
             query_message.from_wire(query_data)

+ 2 - 2
src/bin/xfrin/xfrin.py.in

@@ -339,7 +339,7 @@ class XfrinConnection(asyncore.dispatcher):
                  sock_map, zone_name, rrclass, datasrc_client, db_file,
                  shutdown_event, master_addrinfo, tsig_key = None,
                  verbose=False, idle_timeout=60):
-        '''Constructor of the XfirnConnection class.
+        '''Constructor of the XfrinConnection class.
 
         idle_timeout: max idle time for read data from socket.
         datasrc_client: the data source client object used for the XFR session.
@@ -350,7 +350,7 @@ class XfrinConnection(asyncore.dispatcher):
 
         asyncore.dispatcher.__init__(self, map=sock_map)
 
-        # The XFR state.  Coceptually this is purely private, so we emphasize
+        # The XFR state.  Conceptually this is purely private, so we emphasize
         # the fact by the double underscore.  Other classes are assumed to
         # get access to this via get_xfrstate(), and only XfrinState classes
         # are assumed to be allowed to modify it via __set_xfrstate().