mirror of
https://github.com/powerline/powerline.git
synced 2025-07-24 22:36:01 +02:00
Make FailedUnicode summary not too lengthy
This commit is contained in:
parent
8707f35bc9
commit
f697d9ef67
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user