From 220daf93f67fbe75ede02ec3072ec6904ef5da03 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 28 Apr 2014 18:47:10 +0530 Subject: [PATCH] pep8 --- src/calibre/ebooks/oeb/base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/calibre/ebooks/oeb/base.py b/src/calibre/ebooks/oeb/base.py index 0abc1e2197..6eb6d1b341 100644 --- a/src/calibre/ebooks/oeb/base.py +++ b/src/calibre/ebooks/oeb/base.py @@ -125,8 +125,8 @@ def iterlinks(root, find_links_in_css=True): if tag == XHTML('object'): codebase = None - ## tags have attributes that are relative to - ## codebase + # tags have attributes that are relative to + # codebase if 'codebase' in attribs: codebase = el.get('codebase') yield (el, 'codebase', codebase, 0) @@ -604,8 +604,8 @@ class Metadata(object): allowed = self.allowed if allowed is not None and term not in allowed: raise AttributeError( - 'attribute %r not valid for metadata term %r' - % (self.attr(term), barename(obj.term))) + 'attribute %r not valid for metadata term %r' % ( + self.attr(term), barename(obj.term))) return self.attr(term) def __get__(self, obj, cls):