Skip to content

Commit

Permalink
Delete cached _hline_string when deco is modified
Browse files Browse the repository at this point in the history
  • Loading branch information
foutaise committed Jul 13, 2021
1 parent 6b560ed commit 98657cc
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Version History

v1.6.4 (2021-07-13)
* Fix alignment bug when deco is modified (https://github.com/foutaise/texttable/issues/76)

v1.6.3 (2020-09-06)
* Improve int conversion (https://github.com/foutaise/texttable/issues/70)

Expand Down
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: 1.6.3
Version: 1.6.4
Summary: module for creating simple ASCII tables
Home-page: https://github.com/foutaise/texttable/
Author: Gerome Fournier
Author-email: [email protected]
License: MIT
Download-URL: https://github.com/foutaise/texttable/archive/v1.6.3.tar.gz
Download-URL: https://github.com/foutaise/texttable/archive/v1.6.4.tar.gz
Description: texttable is a module to generate a formatted text table, using ASCII
characters.
Platform: any
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,10 @@ DATA
__author__ = 'Gerome Fournier <jef(at)foutaise.org>'
__credits__ = 'Jeff Kowalczyk:\n - textwrap improved import\n ...at...
__license__ = 'MIT'
__version__ = '1.6.3'
__version__ = '1.6.4'
VERSION
1.6.3
1.6.4
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 @@ -12,11 +12,11 @@

setup(
name="texttable",
version="1.6.3",
version="1.6.4",
author="Gerome Fournier",
author_email="[email protected]",
url="https://github.com/foutaise/texttable/",
download_url="https://github.com/foutaise/texttable/archive/v1.6.3.tar.gz",
download_url="https://github.com/foutaise/texttable/archive/v1.6.4.tar.gz",
license="MIT",
py_modules=["texttable"],
description=DESCRIPTION,
Expand Down
3 changes: 2 additions & 1 deletion texttable.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

__author__ = 'Gerome Fournier <jef(at)foutaise.org>'
__license__ = 'MIT'
__version__ = '1.6.3'
__version__ = '1.6.4'
__credits__ = """\
Jeff Kowalczyk:
- textwrap improved import
Expand Down Expand Up @@ -262,6 +262,7 @@ def set_deco(self, deco):
"""

self._deco = deco
self._hline_string = None
return self

def set_header_align(self, array):
Expand Down

0 comments on commit 98657cc

Please sign in to comment.