From 49918dbaf0a27685715b2709e43cae61be533344 Mon Sep 17 00:00:00 2001 From: jquast Date: Sat, 7 Sep 2013 15:43:29 -0400 Subject: more merge fixes for does_styling property-rework _does_styling is write attribute, does_styling is read-only property --- blessings/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blessings') 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. -- cgit v1.2.1