]> 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)
committerHe Yongli <yongli.he@intel.com>
Mon, 17 Feb 2014 03:13:33 +0000 (11:13 +0800)
commit9bd6754b573e362a11d3536873ae818e3e910cb6
tree6acfa1b712e042868c15e1330c1cd028b6ba0e62
parentb2ac45e71c49bc9443fc2c9dd2957a82f286f91d
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