~inportb/py-htfilter/dev

« back to all changes in this revision

Viewing changes to htfilter.py

  • Committer: Jiang Yio
  • Date: 2009-03-28 01:35:41 UTC
  • Revision ID: inportb@gmail.com-20090328013541-h2ptcz0ebyglaw7g
fixed AttributeError: '_socketobject' object has no attribute 'ac_out_buffer' for Python 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
                if not self.proxy:
257
257
                        return
258
258
                self.handle_error = self.discard_buffers
259
 
                while self.producer_fifo or self.ac_out_buffer:
 
259
#               while self.producer_fifo or self.ac_out_buffer:
 
260
                while self.producer_fifo:
260
261
                        self.initiate_send()
261
262
                self.iswritable = False
262
263
                self.proxy.delHooks(self.hooks)