This commit is contained in:
Kovid Goyal 2013-04-01 13:24:20 +05:30
parent 069761e03e
commit c6c9e5acf7

View File

@ -347,7 +347,7 @@ class ZshCompleter(object): # {{{
subcommands.append(';;') subcommands.append(';;')
f.write('\n_calibredb() {') f.write('\n_calibredb() {')
f.write( f.write((
r''' r'''
local state line state_descr context local state line state_descr context
typeset -A opt_args typeset -A opt_args
@ -370,7 +370,7 @@ class ZshCompleter(object): # {{{
esac esac
return ret return ret
'''%'\n '.join(subcommands)) '''%'\n '.join(subcommands)).encode('utf-8'))
f.write('\n}\n\n') f.write('\n}\n\n')
def write(self): def write(self):