From 25501e85749ee74cf56c623b10108e49295e34d4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 6 May 2013 14:27:27 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/docx/styles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/docx/styles.py b/src/calibre/ebooks/docx/styles.py index e27602c33d..f88b09bd26 100644 --- a/src/calibre/ebooks/docx/styles.py +++ b/src/calibre/ebooks/docx/styles.py @@ -412,8 +412,8 @@ class Styles(object): if s.style_id: self.id_map[s.style_id] = s - # Nuke based_on, link attributes that refer to non-existing/incompatible - # parents + # Nuke based_on, link attributes that refer to missing/incompatible + # styles for s in self: bo = s.based_on if bo is not None: