summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Rose <erik@mozilla.com>2018-01-03 11:23:27 -0500
committerErik Rose <erik@mozilla.com>2018-01-03 11:23:27 -0500
commit6a29ced8c1b10fad62ed2366e4bfec18b9d6831e (patch)
treee618e40c0ae7cd675969d1ebf0573242cec8e4f6
parent24073ca628342d2c99369117197791602c60e415 (diff)
downloadblessings-6a29ced8c1b10fad62ed2366e4bfec18b9d6831e.tar.gz
Update readme. Bump version to 1.6.1.
-rw-r--r--README.rst4
-rw-r--r--docs/conf.py2
-rw-r--r--setup.py2
3 files changed, 6 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index f6fc878..bc58962 100644
--- a/README.rst
+++ b/README.rst
@@ -437,6 +437,10 @@ Blessings is under the MIT License. See the LICENSE file.
Version History
===============
+1.6.1
+ * Don't crash if ``number_of_colors()`` is called when run in a non-terminal
+ or when ``does_styling`` is otherwise false.
+
1.6
* Add ``does_styling`` property. This takes ``force_styling`` into account
and should replace most uses of ``is_a_tty``.
diff --git a/docs/conf.py b/docs/conf.py
index e9ed9eb..658fbc0 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -50,7 +50,7 @@ copyright = u'2011, Erik Rose'
# built documents.
#
# The short X.Y version.
-version = '1.6'
+version = '1.6.1'
# The full version, including alpha/beta/rc tags.
release = version
diff --git a/setup.py b/setup.py
index ec4cfd1..0c366e1 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ if sys.version_info >= (3,):
setup(
name='blessings',
- version='1.6',
+ version='1.6.1',
description='A thin, practical wrapper around terminal coloring, styling, and positioning',
long_description=open('README.rst').read(),
author='Erik Rose',