##// END OF EJS Templates
setup: use sysstr() on process output...
Gregory Szorc -
r45244:380959c6 stable
parent child Browse files
Show More
@@ -890,7 +890,8 b' class hgbuilddoc(Command):'
890 )
890 )
891 if res:
891 if res:
892 raise SystemExit(
892 raise SystemExit(
893 'error running gendoc.py: %s' % '\n'.join([out, err])
893 'error running gendoc.py: %s'
894 % '\n'.join([sysstr(out), sysstr(err)])
894 )
895 )
895
896
896 with open(txt, 'wb') as fh:
897 with open(txt, 'wb') as fh:
@@ -907,7 +908,8 b' class hgbuilddoc(Command):'
907 )
908 )
908 if res:
909 if res:
909 raise SystemExit(
910 raise SystemExit(
910 'error running gendoc: %s' % '\n'.join([out, err])
911 'error running gendoc: %s'
912 % '\n'.join([sysstr(out), sysstr(err)])
911 )
913 )
912
914
913 with open(gendoc, 'wb') as fh:
915 with open(gendoc, 'wb') as fh:
@@ -932,7 +934,8 b' class hgbuilddoc(Command):'
932 )
934 )
933 if res:
935 if res:
934 raise SystemExit(
936 raise SystemExit(
935 'error running runrst: %s' % '\n'.join([out, err])
937 'error running runrst: %s'
938 % '\n'.join([sysstr(out), sysstr(err)])
936 )
939 )
937
940
938 normalizecrlf('doc/%s' % root)
941 normalizecrlf('doc/%s' % root)
@@ -957,7 +960,8 b' class hgbuilddoc(Command):'
957 )
960 )
958 if res:
961 if res:
959 raise SystemExit(
962 raise SystemExit(
960 'error running runrst: %s' % '\n'.join([out, err])
963 'error running runrst: %s'
964 % '\n'.join([sysstr(out), sysstr(err)])
961 )
965 )
962
966
963 normalizecrlf('doc/%s.html' % root)
967 normalizecrlf('doc/%s.html' % root)
General Comments 0
You need to be logged in to leave comments. Login now