]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Use six.StringIO/BytesIO instead of StringIO.StringIO
authorHe Yongli <yongli.he@intel.com>
Mon, 17 Feb 2014 02:28:03 +0000 (10:28 +0800)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:23 +0000 (15:20 +0800)
commit27a72e9d9b878e70c40439fbc3c85e0e285ab135
tree49a7687630697f7142a2f1ac227d2afabeb7bd45
parent32317758e6338346c2fe9f5c13944532571eb480
Use six.StringIO/BytesIO instead of StringIO.StringIO

to keep Python 3.x compatibility, use six.StringIO/BytesIO to
replace StringIO.StringIO

StringIO works for unicode
BytesIO works for bytes

Change-Id: I3892098e31d8d6984d58136110aae653dc4047ab
Closes-Bug: #1280100
neutron/agent/linux/dhcp.py
neutron/tests/unit/test_policy.py