From f697d9ef67ffe24d3bb3c73475c65f0068748f96 Mon Sep 17 00:00:00 2001 From: ZyX Date: Sat, 6 Dec 2014 14:48:31 +0300 Subject: [PATCH] Make FailedUnicode summary not too lengthy --- powerline/lib/unicode.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/powerline/lib/unicode.py b/powerline/lib/unicode.py index 93c097db..fd3f05f4 100644 --- a/powerline/lib/unicode.py +++ b/powerline/lib/unicode.py @@ -116,8 +116,7 @@ def safe_unicode(s): class FailedUnicode(unicode): - '''Builtin ``unicode`` (``str`` in python 3) subclass indicating fatal - error. + '''Builtin ``unicode`` subclass indicating fatal error If your code for some reason wants to determine whether `.render()` method failed it should check returned string for being a FailedUnicode instance.