mirror of
https://github.com/powerline/powerline.git
synced 2025-07-25 23:05:32 +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):
|
class FailedUnicode(unicode):
|
||||||
'''Builtin ``unicode`` (``str`` in python 3) subclass indicating fatal
|
'''Builtin ``unicode`` subclass indicating fatal error
|
||||||
error.
|
|
||||||
|
|
||||||
If your code for some reason wants to determine whether `.render()` method
|
If your code for some reason wants to determine whether `.render()` method
|
||||||
failed it should check returned string for being a FailedUnicode instance.
|
failed it should check returned string for being a FailedUnicode instance.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user