Show More
@@ -164,7 +164,7 b' def _buildlowerencodefun():' | |||||
164 | for x in range(ord("A"), ord("Z") + 1): |
|
164 | for x in range(ord("A"), ord("Z") + 1): | |
165 | cmap[xchr(x)] = xchr(x).lower() |
|
165 | cmap[xchr(x)] = xchr(x).lower() | |
166 | def lowerencode(s): |
|
166 | def lowerencode(s): | |
167 | return "".join([cmap[c] for c in s]) |
|
167 | return "".join([cmap[c] for c in pycompat.iterbytestr(s)]) | |
168 | return lowerencode |
|
168 | return lowerencode | |
169 |
|
169 | |||
170 | lowerencode = getattr(parsers, 'lowerencode', None) or _buildlowerencodefun() |
|
170 | lowerencode = getattr(parsers, 'lowerencode', None) or _buildlowerencodefun() |
@@ -63,7 +63,7 b" testmod('mercurial.parser')" | |||||
63 | testmod('mercurial.pycompat') |
|
63 | testmod('mercurial.pycompat') | |
64 | testmod('mercurial.revsetlang') |
|
64 | testmod('mercurial.revsetlang') | |
65 | testmod('mercurial.smartset') |
|
65 | testmod('mercurial.smartset') | |
66 |
testmod('mercurial.store' |
|
66 | testmod('mercurial.store') | |
67 | testmod('mercurial.subrepo') |
|
67 | testmod('mercurial.subrepo') | |
68 | testmod('mercurial.templatefilters') |
|
68 | testmod('mercurial.templatefilters') | |
69 | testmod('mercurial.templater') |
|
69 | testmod('mercurial.templater') |
General Comments 0
You need to be logged in to leave comments.
Login now