openstack-icehouse
swift-client报编码错误:
解决:
cd /usr/lib/python2.6/site-packages
vim sitecustomize.py
添加:
# encoding=utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')
openstack-icehouse
swift-client报编码错误:
解决:
cd /usr/lib/python2.6/site-packages
vim sitecustomize.py
添加:
# encoding=utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')