jp (input/csv): fixed encoding issue in debug mode
This commit is contained in:
parent
7ea19a5ca6
commit
394f7b85c2
1 changed files with 3 additions and 3 deletions
|
|
@ -140,9 +140,9 @@ class InputCommon(base.CommandBase):
|
|||
self.disp(u'{indent}{prog} {static} {options} {positionals}'.format(
|
||||
indent = 4*u' ',
|
||||
prog=sys.argv[0],
|
||||
static = ' '.join(self.args.command).encode('utf-8'),
|
||||
options = u' '.join([o.encode('utf-8') for o in self._opts]),
|
||||
positionals = u' '.join([p.encode('utf-8') for p in self._pos])
|
||||
static = ' '.join(self.args.command).decode('utf-8'),
|
||||
options = u' '.join([o.decode('utf-8') for o in self._opts]),
|
||||
positionals = u' '.join([p.decode('utf-8') for p in self._pos])
|
||||
))
|
||||
self.disp(u'\n')
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue