I've noticed that ConfigDir occasionally generates an exception when trying to get the timestamp on files -- haven't been able to figure out exactly why, but the following workaround is the best that I've been able to come up with:
replace:
Code:
times.setdefault(f,[]).append(os.path.getmtime(p))
with:
Code:
try:
t = os.path.getmtime(p)
except:
t = time()
As a note, I'd also posted some other suggestions while you were gone... not sure if you'd seen the threads:
SocketHandler.py:
http://forums.degreez.net/viewtopic.php?p=16859&highlight=#16859
zurllib.py:
http://forums.degreez.net/viewtopic.php?p=16656&highlight=#16656