equal
deleted
inserted
replaced
178 try: |
178 try: |
179 return self.fp.flush() |
179 return self.fp.flush() |
180 except IOError as inst: |
180 except IOError as inst: |
181 if inst.errno != errno.EINVAL: |
181 if inst.errno != errno.EINVAL: |
182 raise |
182 raise |
183 self.close() |
|
184 raise IOError(errno.EPIPE, 'Broken pipe') |
183 raise IOError(errno.EPIPE, 'Broken pipe') |
185 |
184 |
186 def _is_win_9x(): |
185 def _is_win_9x(): |
187 '''return true if run on windows 95, 98 or me.''' |
186 '''return true if run on windows 95, 98 or me.''' |
188 try: |
187 try: |