def doit(self): from calibre.db.legacy import LibraryDatabase newdb = LibraryDatabase(self.loc, is_second_db=True) with closing(newdb): self._doit(newdb) newdb.break_cycles() del newdb
def doit(self): from calibre.db.legacy import LibraryDatabase newdb = LibraryDatabase(self.loc, is_second_db=True) with closing(newdb): self._doit(newdb) newdb.break_cycles() del newdb
def doit(self): from calibre.db.legacy import LibraryDatabase newdb = LibraryDatabase(self.loc, is_second_db=True) with closing(newdb): if self.check_for_duplicates: self.find_identical_books_data = newdb.new_api.data_for_find_identical_books() self._doit(newdb) newdb.break_cycles() del newdb