TypeError: ord() expected string of length 1, but int found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DragonFlow |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
2018-09-11 16:37:30.050 4008223 ERROR dragonflow.
2018-09-11 16:37:30.050 4008223 ERROR dragonflow.
2018-09-11 16:37:30.050 4008223 ERROR dragonflow.
2018-09-11 16:37:30.050 4008223 ERROR dragonflow.
2018-09-11 16:37:30.050 4008223 ERROR dragonflow.
2018-09-11 16:37:30.050 4008223 ERROR dragonflow.
2018-09-11 16:37:30.050 4008223 ERROR dragonflow.
2018-09-11 16:37:30.050 4008223 ERROR dragonflow.
2018-09-11 16:37:30.050 4008223 ERROR dragonflow.
2018-09-11 16:37:30.050 4008223 ERROR dragonflow.
2018-09-11 16:37:30.050 4008223 ERROR dragonflow.
Reviewed: https:/ /review. openstack. org/601968 /git.openstack. org/cgit/ openstack/ dragonflow/ commit/ ?id=98c1553af9b 8e4122d1d7cad1f 28d7ea0e932326
Committed: https:/
Submitter: Zuul
Branch: master
commit 98c1553af9b8e41 22d1d7cad1f28d7 ea0e932326
Author: Hong Hui Xiao <email address hidden>
Date: Tue Sep 11 09:05:33 2018 +0000
Python3 complains when iterate bytes string
Using Python3 to iterate a bytes string, int will be presented.
However, in Python2, str will be presented.
Closes-Bug: #1792120 b71e0f9b627e875 e0c41f89b30
Change-Id: Id30f5f1da989fd