diff options
author | 2015-01-08 01:29:24 +0100 | |
---|---|---|
committer | 2015-01-08 01:29:24 +0100 | |
commit | d7baf9f5d8decc38816bade8fb1ea97a98b4dbb0 (patch) | |
tree | ceb6b0056e0180064f4d7acfeebeb130ae431727 /src/build/file2str.py | |
parent | 3a291c4cb7442464b7b961ebb78db1b38bc8cd49 (diff) |
Make file2str.pv compatible with python 2.5 (nw)
Diffstat (limited to 'src/build/file2str.py')
-rw-r--r-- | src/build/file2str.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/build/file2str.py b/src/build/file2str.py index b21d19cca07..6dace489050 100644 --- a/src/build/file2str.py +++ b/src/build/file2str.py @@ -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)
\ No newline at end of file + sys.exit(-1) |