Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 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
Exemplo n.º 3
0
 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