| Previous | 199869 Revisions | Next |
| r34250 Thursday 8th January, 2015 at 00:29:24 UTC by Couriersud |
|---|
| Make file2str.pv compatible with python 2.5 (nw) |
| [src/build] | file2str.py |
| r242761 | r242762 | |
|---|---|---|
| 1 | 1 | #!/usr/bin/python |
| 2 | 2 | |
| 3 | from __future__ import with_statement | |
| 4 | ||
| 3 | 5 | import string |
| 4 | 6 | import sys |
| 5 | 7 | import os |
| r242761 | r242762 | |
| 53 | 55 | dst.close() |
| 54 | 56 | except IOError: |
| 55 | 57 | print("Unable to open output file '%s'" % dstfile) |
| 56 | sys.exit(-1) | |
| No newline at end of file | ||
| 58 | sys.exit(-1) |
| https://github.com/mamedev/mame/commit/d7baf9f5d8decc38816bade8fb1ea97a98b4dbb0 |
| Previous | 199869 Revisions | Next |