diff options
author | Doug Hellmann <doug.hellmann@dreamhost.com> | 2013-07-31 12:02:28 -0400 |
---|---|---|
committer | Doug Hellmann <doug.hellmann@dreamhost.com> | 2013-08-12 14:45:23 -0400 |
commit | aa6bb0cfe3bda491aea7293be2ab78ccc40bd061 (patch) | |
tree | fbffdf833bf43d5249a50fb1094e0496a1078d0e /demoapp/distribute_setup.py | |
parent | 50de738446d5e4e1ad085b6d8faf41c640c6159f (diff) | |
download | cliff-aa6bb0cfe3bda491aea7293be2ab78ccc40bd061.tar.gz |
Fix default encoding issue with python 2.6
This change addresses issue #38: "fix unicode handling issues".
The issue was originally reported against neutron client
(https://bugs.launchpad.net/python-neutronclient/+bug/1189112) but
was tracked down to the fact that python 2.6 does not set the default
encoding for sys.stdout properly. A change to python 2.7 fixes the
problem there and later (http://hg.python.org/cpython/rev/e60ef17561dc/),
but since cliff supports python 2.6 it needs to handle the case
explicitly.
Change-Id: Id06507d78c7c82b25f39366ea4a6dfa4ef3a3a97
Diffstat (limited to 'demoapp/distribute_setup.py')
0 files changed, 0 insertions, 0 deletions