Skip to content

Commit

Permalink
proper handling of unicode in headers
Browse files Browse the repository at this point in the history
  • Loading branch information
foutaise committed Nov 14, 2016
1 parent d5ffc32 commit 383fd51
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Metadata-Version: 1.0
Name: texttable
Version: 0.8.6
Version: 0.8.7
Summary: module for creating simple ASCII tables
Home-page: https://github.com/foutaise/texttable/
Author: Gerome Fournier
Author-email: jef(at)foutaise.org
License: LGPL
Download-URL: https://github.com/foutaise/texttable/archive/v0.8.6.tar.gz
Download-URL: https://github.com/foutaise/texttable/archive/v0.8.7.tar.gz
Description: texttable is a module to generate a formatted text table, using ASCII
characters.
Platform: any
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Python module for creating simple ASCII tables

## Availability

This module is available on [PypI](https://pypi.python.org/pypi/texttable/0.8.6), and has been packaged for several Linux/Unix platforms
This module is available on [PypI](https://pypi.python.org/pypi/texttable/0.8.7), and has been packaged for several Linux/Unix platforms
([Debian](https://packages.debian.org/search?&searchon=names&keywords=python-texttable+),
[FreeBSD](https://www.freebsd.org/cgi/ports.cgi?query=texttable&stype=all), Fedora, Suse...).

Expand Down Expand Up @@ -195,10 +195,10 @@ DATA
__author__ = 'Gerome Fournier <jef(at)foutaise.org>'
__credits__ = 'Jeff Kowalczyk:\n - textwrap improved import\n ...at...
__license__ = 'LGPL'
__version__ = '0.8.6'
__version__ = '0.8.7'
VERSION
0.8.6
0.8.7
AUTHOR
Gerome Fournier <jef(at)foutaise.org>
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@

setup(
name = "texttable",
version = "0.8.6",
version = "0.8.7",
author = "Gerome Fournier",
author_email = "jef(at)foutaise.org",
url = "https://github.com/foutaise/texttable/",
download_url = "https://github.com/foutaise/texttable/archive/v0.8.6.tar.gz",
download_url = "https://github.com/foutaise/texttable/archive/v0.8.7.tar.gz",
license = "LGPL",
py_modules = ["texttable"],
description = DESCRIPTION,
Expand Down
6 changes: 3 additions & 3 deletions texttable.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

__author__ = 'Gerome Fournier <jef(at)foutaise.org>'
__license__ = 'LGPL'
__version__ = '0.8.6'
__version__ = '0.8.7'
__credits__ = """\
Jeff Kowalczyk:
- textwrap improved import
Expand All @@ -100,7 +100,7 @@
Maximilian Hils:
- fix minor bug for Python 3 compatibility
frinkelpi
frinkelpi:
- preserve empty lines
"""

Expand Down Expand Up @@ -317,7 +317,7 @@ def header(self, array):
"""

self._check_row_size(array)
self._header = list(map(str, array))
self._header = list(map(obj2unicode, array))

def add_row(self, array):
"""Add a row in the rows stack
Expand Down

0 comments on commit 383fd51

Please sign in to comment.