From c6f21f7465fe3e3df845932b34843ff2d4cbbc41 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 9 Aug 2014 16:12:09 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/docx/fields.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/docx/fields.py b/src/calibre/ebooks/docx/fields.py index 82e2c206d2..6fee0bd67c 100644 --- a/src/calibre/ebooks/docx/fields.py +++ b/src/calibre/ebooks/docx/fields.py @@ -26,7 +26,7 @@ class Field(object): if not raw: return if self.name is None: - # There are cases where partial index entries end with + # There are cases where partial index entries end with # a significant space, along the lines of # <>Summary <> ... <>Hearing<>. # No known examples of starting with a space yet. @@ -181,7 +181,7 @@ class Fields(object): for runs in self.get_runs(field): self.hyperlink_fields.append(({'anchor':dest}, runs)) else: - self.log.warn('Unsupported reference field (%s), ignoring: %r' % (field.name, ref)) + log.warn('Unsupported reference field (%s), ignoring: %r' % (field.name, ref)) parse_noteref = parse_ref