Skip to content

Commit

Permalink
Correct a couple of typos in the comments. No functional change
Browse files Browse the repository at this point in the history
  • Loading branch information
Massimiliano Stucchi committed Feb 12, 2016
1 parent a456499 commit 398c1b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions key-store-and-report.py
Expand Up @@ -74,7 +74,7 @@ def sendemail(subject, content):
def get_rr(zone, rrtype, ns_address, handler=None):
""" rrtype must be a character _string_. handler is a function
which will be called for each rrset (and receives it as a
parameter). See display_target for an example of handker (it is
parameter). See display_target for an example of handler (it is
suitable for a NS rrtype)."""
mytype = dns.rdatatype.from_text(rrtype)
query = dns.message.make_query(zone, rrtype)
Expand Down Expand Up @@ -136,7 +136,7 @@ def get_rr(zone, rrtype, ns_address, handler=None):
database.commit()

def display_target(set):
""" Example of a simple handker for get_rr. """
""" Example of a simple handler for get_rr. """
for record in set:
print record.target

Expand Down Expand Up @@ -205,7 +205,7 @@ def update_zones(set):
if zone[-1] != '.':
zone += '.'
address = sys.argv[2]
# TODO: accept as parameter an artificial time, to be used instead of
# TODO: accept an artificial time as parameter, to be used instead of
# the real clock, to test "what if" scenarios?
default_log.info("Starting %s (%s)..." % (zone, address))
error = None
Expand Down

0 comments on commit 398c1b2

Please sign in to comment.