mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Performance bug: Unneccessary copying of user metadata dict for every field when reading OPF in inner loop
This commit is contained in:
parent
b0705aba3f
commit
467e57093a
@ -621,7 +621,7 @@ class OPF(object): # {{{
|
|||||||
import traceback
|
import traceback
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
continue
|
continue
|
||||||
self._user_metadata_ = temp.get_all_user_metadata(True)
|
self._user_metadata_ = temp.get_all_user_metadata(True)
|
||||||
|
|
||||||
def to_book_metadata(self):
|
def to_book_metadata(self):
|
||||||
ans = MetaInformation(self)
|
ans = MetaInformation(self)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user