Commit 4481117e authored by Arkadiusz Hiler's avatar Arkadiusz Hiler

git-pw: Fix mbox subcommand output

Response's content is encoded as bytes. Decode it before printing, so
the sequences are interpreted.
Reported-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent 148afb5f
......@@ -661,7 +661,7 @@ class GitPatchwork(object):
r = requests.get(mailbox_url, params=params)
if r.status_code is not 200:
raise HttpError(r.status_code)
print(r.content)
print(r.content.decode())
def do_mbox(self):
(series, revision) = self.cmd_get_series_revision()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment