##// END OF EJS Templates
py3: write out hgextindex as bytes in setup.py...
Matt Harbison -
r42244:456c3743 default
parent child Browse files
Show More
@@ -583,9 +583,9 b' class buildhgextindex(Command):'
583 if err or returncode != 0:
583 if err or returncode != 0:
584 raise DistutilsExecError(err)
584 raise DistutilsExecError(err)
585
585
586 with open(self._indexfilename, 'w') as f:
586 with open(self._indexfilename, 'wb') as f:
587 f.write('# this file is autogenerated by setup.py\n')
587 f.write(b'# this file is autogenerated by setup.py\n')
588 f.write('docs = ')
588 f.write(b'docs = ')
589 f.write(out)
589 f.write(out)
590
590
591 class buildhgexe(build_ext):
591 class buildhgexe(build_ext):
General Comments 0
You need to be logged in to leave comments. Login now