Commit 0671f83d authored by Christoph Groth's avatar Christoph Groth make build_tut work with C locale

parent 2dca5e29
......@@ -243,10 +243,10 @@ class build_tut(Command):
for in_fname in glob.glob('doc/source/tutorial/*.py'):
out_fname = os.path.join(tut_dir, os.path.basename(in_fname))
with open(in_fname) as in_file:
with open(out_fname, 'w') as out_file:
with open(in_fname, 'rb') as in_file:
with open(out_fname, 'wb') as out_file:
for line in in_file:
if not line.startswith('#HIDDEN'):
if not line.startswith(b'#HIDDEN'):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment