Show More
@@ -595,7 +595,7 b' class ui(object):' | |||||
595 | return convert(v) |
|
595 | return convert(v) | |
596 | except (ValueError, error.ParseError): |
|
596 | except (ValueError, error.ParseError): | |
597 | if desc is None: |
|
597 | if desc is None: | |
598 | desc = convert.__name__ |
|
598 | desc = pycompat.sysbytes(convert.__name__) | |
599 | raise error.ConfigError(_("%s.%s is not a valid %s ('%s')") |
|
599 | raise error.ConfigError(_("%s.%s is not a valid %s ('%s')") | |
600 | % (section, name, desc, v)) |
|
600 | % (section, name, desc, v)) | |
601 |
|
601 |
@@ -68,7 +68,7 b" testmod('mercurial.store', py3=False) #" | |||||
68 | testmod('mercurial.subrepo') |
|
68 | testmod('mercurial.subrepo') | |
69 | testmod('mercurial.templatefilters') |
|
69 | testmod('mercurial.templatefilters') | |
70 | testmod('mercurial.templater') |
|
70 | testmod('mercurial.templater') | |
71 |
testmod('mercurial.ui' |
|
71 | testmod('mercurial.ui') | |
72 | testmod('mercurial.url') |
|
72 | testmod('mercurial.url') | |
73 | testmod('mercurial.util', py3=False) # py3: multiple bytes/unicode issues |
|
73 | testmod('mercurial.util', py3=False) # py3: multiple bytes/unicode issues | |
74 | testmod('mercurial.util', testtarget='platform') |
|
74 | testmod('mercurial.util', testtarget='platform') |
General Comments 0
You need to be logged in to leave comments.
Login now