mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 02:43:37 +02:00
py3: port one last use of im_func
This commit is contained in:
parent
54ddf5ec5f
commit
3972c79375
1 changed files with 1 additions and 1 deletions
|
|
@ -530,7 +530,7 @@ def clone_browser(self, br):
|
|||
|
||||
@property
|
||||
def cloned_browser(self):
|
||||
if self.get_browser.im_func is BasicNewsRecipe.get_browser.im_func:
|
||||
if hasattr(self.get_browser, 'is_base_class_implementation'):
|
||||
# We are using the default get_browser, which means no need to
|
||||
# clone
|
||||
br = BasicNewsRecipe.get_browser(self)
|
||||
|
|
|
|||
Loading…
Reference in a new issue