From c6c9e5acf79d34cbdeff07afbf74c11855dfdf76 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 1 Apr 2013 13:24:20 +0530 Subject: [PATCH] ... --- src/calibre/linux.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/linux.py b/src/calibre/linux.py index 5f8ae31ce5..395831fa8f 100644 --- a/src/calibre/linux.py +++ b/src/calibre/linux.py @@ -347,7 +347,7 @@ class ZshCompleter(object): # {{{ subcommands.append(';;') f.write('\n_calibredb() {') - f.write( + f.write(( r''' local state line state_descr context typeset -A opt_args @@ -370,7 +370,7 @@ class ZshCompleter(object): # {{{ esac return ret - '''%'\n '.join(subcommands)) + '''%'\n '.join(subcommands)).encode('utf-8')) f.write('\n}\n\n') def write(self):