mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +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
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
import string
|
||||
import sys
|
||||
import os
|
||||
@ -53,4 +55,4 @@ try:
|
||||
dst.close()
|
||||
except IOError:
|
||||
print("Unable to open output file '%s'" % dstfile)
|
||||
sys.exit(-1)
|
||||
sys.exit(-1)
|
||||
|
Loading…
Reference in New Issue
Block a user