summaryrefslogtreecommitdiff
path: root/cliff/tests/__init__.py
diff options
context:
space:
mode:
authorDoug Hellmann <doug.hellmann@dreamhost.com>2013-07-31 12:02:28 -0400
committerDoug Hellmann <doug.hellmann@dreamhost.com>2013-08-12 14:45:23 -0400
commitaa6bb0cfe3bda491aea7293be2ab78ccc40bd061 (patch)
treefbffdf833bf43d5249a50fb1094e0496a1078d0e /cliff/tests/__init__.py
parent50de738446d5e4e1ad085b6d8faf41c640c6159f (diff)
downloadcliff-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 'cliff/tests/__init__.py')
-rw-r--r--cliff/tests/__init__.py0
1 files changed, 0 insertions, 0 deletions
diff --git a/cliff/tests/__init__.py b/cliff/tests/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/cliff/tests/__init__.py