[svn r40982] Possible problem-point (exploded at least once there)

--HG--
branch : trunk
This commit is contained in:
fijal 2007-03-21 22:22:56 +01:00
parent 633a3a67a3
commit e3715545fb
1 changed files with 2 additions and 0 deletions

View File

@ -448,6 +448,7 @@ def dispatcher_mainloop():
if s in g_owtd: if s in g_owtd:
d = g_owtd[s] d = g_owtd[s]
#print 'owtd:', d[0] #print 'owtd:', d[0]
# XXX: Check if d is non-empty
g = d.popleft() g = d.popleft()
if not d: if not d:
try: try:
@ -461,6 +462,7 @@ def dispatcher_mainloop():
if s in g_iwtd: if s in g_iwtd:
d = g_iwtd[s] d = g_iwtd[s]
#print 'iwtd:', d[0] #print 'iwtd:', d[0]
# XXX: Check if d is non-empty
g = d.popleft() g = d.popleft()
if not d: if not d:
try: try: