Show More
@@ -634,7 +634,7 b' CDATA_EVIL = re.compile(br"[\\000-\\010\\01' | |||||
634 | # list in group 2, and the preceeding line output in group 1: |
|
634 | # list in group 2, and the preceeding line output in group 1: | |
635 | # |
|
635 | # | |
636 | # output..output (feature !)\n |
|
636 | # output..output (feature !)\n | |
637 | optline = re.compile(b'(.*) \((.+?) !\)\n$') |
|
637 | optline = re.compile(br'(.*) \((.+?) !\)\n$') | |
638 |
|
638 | |||
639 | def cdatasafe(data): |
|
639 | def cdatasafe(data): | |
640 | """Make a string safe to include in a CDATA block. |
|
640 | """Make a string safe to include in a CDATA block. | |
@@ -3112,8 +3112,8 b' class TestRunner(object):' | |||||
3112 | # installation layout put it in bin/ directly. Fix it |
|
3112 | # installation layout put it in bin/ directly. Fix it | |
3113 | with open(hgbat, 'rb') as f: |
|
3113 | with open(hgbat, 'rb') as f: | |
3114 | data = f.read() |
|
3114 | data = f.read() | |
3115 | if b'"%~dp0..\python" "%~dp0hg" %*' in data: |
|
3115 | if br'"%~dp0..\python" "%~dp0hg" %*' in data: | |
3116 | data = data.replace(b'"%~dp0..\python" "%~dp0hg" %*', |
|
3116 | data = data.replace(br'"%~dp0..\python" "%~dp0hg" %*', | |
3117 | b'"%~dp0python" "%~dp0hg" %*') |
|
3117 | b'"%~dp0python" "%~dp0hg" %*') | |
3118 | with open(hgbat, 'wb') as f: |
|
3118 | with open(hgbat, 'wb') as f: | |
3119 | f.write(data) |
|
3119 | f.write(data) |
General Comments 0
You need to be logged in to leave comments.
Login now