equal
deleted
inserted
replaced
205 fp.flush() |
205 fp.flush() |
206 continue |
206 continue |
207 except IOError: |
207 except IOError: |
208 pass |
208 pass |
209 # Otherwise mark it as closed to silence "Exception ignored in" |
209 # Otherwise mark it as closed to silence "Exception ignored in" |
210 # message emitted by the interpreter finalizer. Be careful to |
210 # message emitted by the interpreter finalizer. |
211 # not close procutil.stdout, which may be a fdopen-ed file object |
|
212 # and its close() actually closes the underlying file descriptor. |
|
213 try: |
211 try: |
214 fp.close() |
212 fp.close() |
215 except IOError: |
213 except IOError: |
216 pass |
214 pass |
217 |
215 |