Changeset b2118b7a1ab0d3b346faaa7ac3d72cb5bf23466e
- Timestamp:
- 11/23/10 00:32:54 (3 years ago)
- Author:
- Guillaume Pellerin <yomguy@…>
- Children:
- 2a36c2ba1fc1a8385e346e2e0650356792c62cf2
- Parents:
- a5e96b06f88b4f7f63dcb4652ff9b45e8eec9d26
- git-committer:
- Guillaume Pellerin <yomguy@parisson.com> / 2010-11-22T23:32:54Z+0000
- Message:
-
make record exception safier
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
rb8048e2
|
rb2118b7
|
|
| 50 | 50 | |
| 51 | 51 | def write(self, chunk): |
| 52 | | self.media.write(chunk) |
| 53 | | self.media.flush() |
| | 52 | try: |
| | 53 | self.media.write(chunk) |
| | 54 | self.media.flush() |
| | 55 | except: |
| | 56 | pass |
| 54 | 57 | |
| 55 | 58 | def close(self): |