mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
19d9c8bd04
commit
9de8f9589a
@ -809,13 +809,13 @@ class TagsModel(QAbstractItemModel): # {{{
|
|||||||
key = on_node.tag.category
|
key = on_node.tag.category
|
||||||
if (key == 'authors' and len(ids) >= 5):
|
if (key == 'authors' and len(ids) >= 5):
|
||||||
if not confirm('<p>'+_('Changing the authors for several books can '
|
if not confirm('<p>'+_('Changing the authors for several books can '
|
||||||
'take a while. Are you sure?')
|
'take a while. Are you sure?') +
|
||||||
+'</p>', 'tag_browser_drop_authors', self.gui_parent):
|
'</p>', 'tag_browser_drop_authors', self.gui_parent):
|
||||||
return
|
return
|
||||||
elif len(ids) > 15:
|
elif len(ids) > 15:
|
||||||
if not confirm('<p>'+_('Changing the metadata for that many books '
|
if not confirm('<p>'+_('Changing the metadata for that many books '
|
||||||
'can take a while. Are you sure?')
|
'can take a while. Are you sure?') +
|
||||||
+'</p>', 'tag_browser_many_changes', self.gui_parent):
|
'</p>', 'tag_browser_many_changes', self.gui_parent):
|
||||||
return
|
return
|
||||||
|
|
||||||
fm = self.db.metadata_for_field(key)
|
fm = self.db.metadata_for_field(key)
|
||||||
@ -1428,4 +1428,3 @@ class TagsModel(QAbstractItemModel): # {{{
|
|||||||
process_level(self.index(i, 0, QModelIndex()))
|
process_level(self.index(i, 0, QModelIndex()))
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user