##// END OF EJS Templates
run-tests: assign value to ESCAPEMAP - dict.update do not return self...
Mads Kiilerich -
r21539:0c407790 default
parent child Browse files
Show More
@@ -686,8 +686,8 b' class TTest(Test):'
686 NEEDESCAPE = re.compile(r'[\x00-\x08\x0b-\x1f\x7f-\xff]').search
686 NEEDESCAPE = re.compile(r'[\x00-\x08\x0b-\x1f\x7f-\xff]').search
687
687
688 ESCAPESUB = re.compile(r'[\x00-\x08\x0b-\x1f\\\x7f-\xff]').sub
688 ESCAPESUB = re.compile(r'[\x00-\x08\x0b-\x1f\\\x7f-\xff]').sub
689 ESCAPEMAP = dict((chr(i), r'\x%02x' % i) for i in range(256)).update(
689 ESCAPEMAP = dict((chr(i), r'\x%02x' % i) for i in range(256))
690 {'\\': '\\\\', '\r': r'\r'})
690 ESCAPEMAP.update({'\\': '\\\\', '\r': r'\r'})
691
691
692 @property
692 @property
693 def refpath(self):
693 def refpath(self):
General Comments 0
You need to be logged in to leave comments. Login now