From c1d49333a0ea7e64adef606d73bc28079e4f7b86 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 12 May 2013 15:10:40 +0530 Subject: [PATCH] pep8 --- src/calibre/ebooks/mobi/debug/mobi8.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/mobi/debug/mobi8.py b/src/calibre/ebooks/mobi/debug/mobi8.py index e1c8ffba44..a180b11ad0 100644 --- a/src/calibre/ebooks/mobi/debug/mobi8.py +++ b/src/calibre/ebooks/mobi/debug/mobi8.py @@ -163,7 +163,8 @@ class MOBIFile(object): ext = 'dat' prefix = 'binary' suffix = '' - if sig in {b'HUFF', b'CDIC', b'INDX'}: continue + if sig in {b'HUFF', b'CDIC', b'INDX'}: + continue # TODO: Ignore CNCX records as well if sig == b'FONT': font = read_font_record(rec.raw) @@ -196,7 +197,6 @@ class MOBIFile(object): vals = list(index)[:-1] + [None, None, None, None] entry_map.append(Entry(*(vals[:12]))) - indexing_data = collect_indexing_data(entry_map, list(map(len, self.text_records))) self.indexing_data = [DOC + '\n' +textwrap.dedent('''\