bgp_agent could not parse byte stream payload in python3

Bug #1790459 reported by Yang Youseok
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BaGPipe
New
Undecided
Unassigned

Bug Description

httplib2 in python3.5 return byte stream for 'request' function by default. In agent/bagpipe_bgp_agent.py:119 in master branch currently, 'json.loads' using the byte stream and occur exception.

I think we have to decode the 'content' first in python3 env to avoid the exception.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.