Changeset 3658

Show
Ignore:
Timestamp:
02/11/08 11:24:28 (2 months ago)
Author:
dmeyer
Message:

handle _finalize_connect with some objects finished

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/base/src/notifier/async.py

    r3645 r3658  
    669669            self._counter = 1 
    670670            self.finish(None) 
     671        elif len(prefinished): 
     672            # Some underlying InProgress objects are already finished so we 
     673            # need to substract them from the number of objects we are still 
     674            # waiting for. 
     675            self._counter = len(self._objects) - len(prefinished) 
    671676 
    672677