cli/request: print instance parameters with a consistent format on PY2/PY3
Because json is unicode in python2, pretty-printing the parameters would display something like {u'foo': u'bar'}. Encode these unicode strings on python2, so that it looks like {'foo': 'bar'} on both python2 and python3
Showing
Please register or sign in to comment