WebBrowser/SafeBrowsing/SafeBrowsingCache.py

changeset 5847
fd1262c3fa79
parent 5829
d3448873ced3
child 5853
e45a570528a4
equal deleted inserted replaced
5846:b3cc692e3bfe 5847:fd1262c3fa79
209 """ 209 """
210 Public method to close the database. 210 Public method to close the database.
211 """ 211 """
212 if QSqlDatabase.database(self.__connectionName).isOpen(): 212 if QSqlDatabase.database(self.__connectionName).isOpen():
213 QSqlDatabase.database(self.__connectionName).close() 213 QSqlDatabase.database(self.__connectionName).close()
214 QSqlDatabase.removeDatabase(self.__language) 214 QSqlDatabase.removeDatabase(self.__connectionName)
215 215
216 def __openCacheDb(self): 216 def __openCacheDb(self):
217 """ 217 """
218 Private method to open the cache database. 218 Private method to open the cache database.
219 219

eric ide

mercurial