Ticket #1191: 1191-fix.diff

File 1191-fix.diff, 644 bytes (added by warner, at 2010-09-06T18:34:10Z)

fix for the bug, but lacks a specific unit test

  • src/allmydata/immutable/downloader/finder.py

    diff --git a/src/allmydata/immutable/downloader/finder.py b/src/allmydata/immutable/downloader/finder.py
    index fa6204c..4816ccd 100644
    a b class ShareFinder: 
    127127        # we've run out of servers (so we can't send any more requests), and
    128128        # we have nothing in flight. No further progress can be made. They
    129129        # are destined to remain hungry.
    130         self.share_consumer.no_more_shares()
     130        eventually(self.share_consumer.no_more_shares)
    131131
    132132    def send_request(self, server):
    133133        peerid, rref = server