Show More
@@ -41,10 +41,9 b' def _getcheckunknownconfig(repo, section' | |||
|
41 | 41 | valid = [b'abort', b'ignore', b'warn'] |
|
42 | 42 | if config not in valid: |
|
43 | 43 | validstr = b', '.join([b"'" + v + b"'" for v in valid]) |
|
44 | raise error.ConfigError( | |
|
45 | _(b"%s.%s not valid ('%s' is none of %s)") | |
|
46 | % (section, name, config, validstr) | |
|
47 | ) | |
|
44 | msg = _(b"%s.%s not valid ('%s' is none of %s)") | |
|
45 | msg %= (section, name, config, validstr) | |
|
46 | raise error.ConfigError(msg) | |
|
48 | 47 | return config |
|
49 | 48 | |
|
50 | 49 |
General Comments 0
You need to be logged in to leave comments.
Login now