Re: [Tutor] totally stumped on signal code, wont work in this instance

2009-02-06 Thread Kent Johnson
On Fri, Feb 6, 2009 at 4:06 AM, dave selby wrote: > import sys, threading, time, os.path, urllib, time, signal, ConfigParser, > logger > > > def main(): > >while True: # sleep to keep daemons alive :) >time.sleep(60 * 60 * 24) > > > def signal_hup(signum, frame): >""" >S

[Tutor] totally stumped on signal code, wont work in this instance

2009-02-06 Thread dave selby
Hi, I have been hitting my head on a brick wall on a bit of code that refuses to work. I have similar code in other scripts that works AOK I have commented out all functionality except the core problem ... import sys, threading, time, os.path, urllib, time, signal, ConfigParser, logger def