Show More
@@ -370,8 +370,8 def fancyopts(args, options, state, gnu= | |||
|
370 | 370 | state[name] = boolval |
|
371 | 371 | else: |
|
372 | 372 | def abort(s): |
|
373 | raise error.Abort( | |
|
374 | _('invalid value %r for option %s, %s') % (val, opt, s)) | |
|
373 | raise error.Abort(_('invalid value %r for option %s, %s') | |
|
374 | % (pycompat.maybebytestr(val), opt, s)) | |
|
375 | 375 | state[name] = defmap[name].newstate(state[name], val, abort) |
|
376 | 376 | |
|
377 | 377 | # return unparsed args |
General Comments 0
You need to be logged in to leave comments.
Login now