mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
Make file2str.pv compatible with python 2.5 (nw)
This commit is contained in:
parent
3a291c4cb7
commit
d7baf9f5d8
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
from __future__ import with_statement
|
||||||
|
|
||||||
import string
|
import string
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
@ -53,4 +55,4 @@ try:
|
|||||||
dst.close()
|
dst.close()
|
||||||
except IOError:
|
except IOError:
|
||||||
print("Unable to open output file '%s'" % dstfile)
|
print("Unable to open output file '%s'" % dstfile)
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
Loading…
Reference in New Issue
Block a user