rendered paste bodykevin@x-13ea5a01c0d24:~/python$ ./test.py -d -o "niftyhost"
DEBUG: parsed_args = Namespace(conf=[], debug=True, disable=None, enable=None, genconf=None, genfullconf=None, list_targets=False, no_debug=False, only='niftyhost')
DEBUG: configparse(): Start parsing: ['/etc/newpostscheck.xml', '~/.newpostscheck.xml', 'newpostscheck.xml'] (True)
DEBUG: configparse(): Start parsing: /etc/newpostscheck.xml (True)
DEBUG: configparse(): I met an IOError: [Errno 2] No such file or directory: '/etc/newpostscheck.xml'
DEBUG: configparse(): Start parsing: ~/.newpostscheck.xml (True)
DEBUG: configparse(): I met an IOError: [Errno 2] No such file or directory: '/home/kevin/.newpostscheck.xml'
DEBUG: configparse(): Start parsing: newpostscheck.xml (True)
DEBUG: configparse(): I met an IOError: [Errno 2] No such file or directory: 'newpostscheck.xml'
Checking niftyhost...
DEBUG: urlopen('http://www.niftyhost.us/support/search.php?action=getnew')
DEBUG: URL-specific header: {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20110325 Firefox/4.0'} => http://www.niftyhost.us/support/search.php?action=getnew
DEBUG: DNS cache (new): www.niftyhost.us == 199.27.134.87
DEBUG: DNS cache: www.niftyhost.us == 199.27.134.87
DEBUG: URL-specific header: {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20110325 Firefox/4.0'} => http://www.niftyhost.us/support/search.php?action=results&sid=7d585623654431fceb3e42d808f5b72e
DEBUG: DNS cache: www.niftyhost.us == 199.27.134.87
DEBUG: gzip compression detected
DEBUG: regex_empty matched.
Next check: 540 seconds later
538 seconds left^CTraceback (most recent call last):
File "./test.py", line 685, in <module>
time.sleep(1)
KeyboardInterrupt