Changeset 2207 for trunk/packages


Ignore:
Timestamp:
Feb 27, 2009, 4:37:44 AM (16 years ago)
Author:
price
Message:

fix a comment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dns/invirt-dns

    r2201 r2207  
    6464            domain = name
    6565        else:
    66             # Look for the longest-matching domain.  (This works because domain
    67             # will remain bound after breaking out of the loop.)
     66            # Look for the longest-matching domain.
    6867            best_domain = ''
    6968            for domain in self.domains:
     
    7271            if best_domain == '':
    7372                if name.endswith('.in-addr.arpa'):
    74                     best_domain = name # Act authoritative for the IP address for reverse resolution requests
     73                    # Act authoritative for the IP address for reverse resolution requests
     74                    best_domain = name
    7575                else:
    7676                    return defer.fail(failure.Failure(dns.DomainError(name)))
Note: See TracChangeset for help on using the changeset viewer.