summaryrefslogtreecommitdiff
path: root/demoapp/cliffdemo/encoding.py
diff options
context:
space:
mode:
authorRyan Petrello <lists@ryanpetrello.com>2015-05-06 10:17:30 -0400
committerRyan Petrello <lists@ryanpetrello.com>2015-05-06 10:17:56 -0400
commitca2e90a94031fdbba31bf4bda87b51a87e97eb7c (patch)
treefb7475ce51ddc4d8807900553d52eff682fe4f9e /demoapp/cliffdemo/encoding.py
parent79a8791e7fefdcbe62f264bf905ac09a1958e753 (diff)
downloadcliff-master.tar.gz
Cliff has moved to the `openstack` namespace. Update README.HEADmaster
Diffstat (limited to 'demoapp/cliffdemo/encoding.py')
-rw-r--r--demoapp/cliffdemo/encoding.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/demoapp/cliffdemo/encoding.py b/demoapp/cliffdemo/encoding.py
deleted file mode 100644
index 6c6c751..0000000
--- a/demoapp/cliffdemo/encoding.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- encoding: utf-8 -*-
-
-import logging
-
-from cliff.lister import Lister
-
-
-class Encoding(Lister):
- """Show some unicode text
- """
-
- log = logging.getLogger(__name__)
-
- def take_action(self, parsed_args):
- messages = [
- u'pi: π',
- u'GB18030:鼀丅㐀ٸཌྷᠧꌢ€',
- ]
- return (
- ('UTF-8', 'Unicode'),
- [(repr(t.encode('utf-8')), t)
- for t in messages],
- )