summaryrefslogtreecommitdiffstatshomepage
path: root/src/build/makelist.py
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2015-07-30 11:44:44 +0200
committer Olivier Galibert <galibert@pobox.com>2015-07-30 11:44:43 +0200
commit4b1e08c1bb282af1f3b09d992bf006a58908eee6 (patch)
tree4e38421b8aa166abc1d2f674743af7874ff238b7 /src/build/makelist.py
parent93bd0f0daf4bce350dc66071799edb38812a8d2f (diff)
python: Make all scripts python 2/3 compatible
Diffstat (limited to 'src/build/makelist.py')
-rw-r--r--src/build/makelist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build/makelist.py b/src/build/makelist.py
index 1f94814bf88..144dc636c8d 100644
--- a/src/build/makelist.py
+++ b/src/build/makelist.py
@@ -11,7 +11,7 @@ drivlist = []
def parse_file(srcfile):
try:
- fp = open(srcfile, 'rb')
+ fp = open(srcfile, 'rt')
except IOError:
sys.stderr.write("Unable to open source file '%s'\n" % srcfile)
return 1