Changeset 1495 for trunk/packages


Ignore:
Timestamp:
Nov 1, 2008, 4:27:41 AM (16 years ago)
Author:
broder
Message:

Switched to lowercase "reserved" in the zone file because it flows
better in the error text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/validation.py

    r1492 r1495  
    282282            answer = dns.resolver.query(hostname, 'TXT')
    283283            txt = answer[0].strings[0]
    284             if txt.startswith('Reserved'):
     284            if txt.startswith('reserved'):
    285285                raise InvalidInput('name', name, 'The name you have requested has been %s. For more information, contact us at %s' % (txt, config.dns.contact))
    286286
Note: See TracChangeset for help on using the changeset viewer.