mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Fix to make create_manpage_completions work with Python 3
Fixes https://github.com/fish-shell/fish-shell/issues/658 ?
This commit is contained in:
parent
b0132821ac
commit
0e24676144
@ -135,7 +135,8 @@ def built_command(options, description):
|
||||
if IS_PY3:
|
||||
truncation_suffix = '… [See Man Page]'
|
||||
else:
|
||||
truncation_suffix = u'… [See Man Page]'
|
||||
ELLIPSIS_CODE_POINT = 0x2026
|
||||
truncation_suffix = unichr(ELLIPSIS_CODE_POINT) + unicode(' [See Man Page]')
|
||||
|
||||
# Try to include as many whole sentences as will fit
|
||||
# Clean up some probably bogus escapes in the process
|
||||
|
Loading…
x
Reference in New Issue
Block a user