summaryrefslogtreecommitdiff
path: root/blessings
diff options
context:
space:
mode:
authorjquast <contact@jeffquast.com>2013-09-07 15:43:29 -0400
committerjquast <contact@jeffquast.com>2013-09-07 15:43:29 -0400
commit49918dbaf0a27685715b2709e43cae61be533344 (patch)
tree3cb257170a592d5d4a74b40a9ea24a8fbcc1b34a /blessings
parent9efb7ba8200d65afce928e9b1866881fde7df214 (diff)
downloadblessings-49918dbaf0a27685715b2709e43cae61be533344.tar.gz
more merge fixes for does_styling property-rework
_does_styling is write attribute, does_styling is read-only property
Diffstat (limited to 'blessings')
-rw-r--r--blessings/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/blessings/__init__.py b/blessings/__init__.py
index 60995b7..99af01f 100644
--- a/blessings/__init__.py
+++ b/blessings/__init__.py
@@ -87,7 +87,7 @@ class Terminal(object):
self.is_a_tty = (stream_descriptor is not None and
os.isatty(stream_descriptor))
- self.does_styling = ((self.is_a_tty or force_styling) and
+ self._does_styling = ((self.is_a_tty or force_styling) and
force_styling is not None)
# The desciptor to direct terminal initialization sequences to.