Show
Ignore:
Timestamp:
05/19/04 09:15:32 (20 years ago)
Author:
jalet
Message:

Could the 'misterious' bug in my loop be finally fixed ???

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r1483 r1484  
    2424# 
    2525# $Log$ 
     26# Revision 1.45  2004/05/19 07:15:32  jalet 
     27# Could the 'misterious' bug in my loop be finally fixed ??? 
     28# 
    2629# Revision 1.44  2004/05/18 14:48:47  jalet 
    2730# Big code changes to completely remove the need for "requester" directives, 
     
    393396                 
    394397                # In any case, deal with any remaining I/O 
    395                 availablefds = pollster.poll(5000) 
     398                try : 
     399                    availablefds = pollster.poll(5000) 
     400                except select.error : # we probably got a signal 
     401                    availablefds = []    
    396402                if not availablefds : 
    397403                    self.logdebug("Nothing to do, sleeping a bit...")