Helpviewer/Bookmarks/BookmarksImporters/FirefoxImporter.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2403
e3d7a861547c
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing an importer for Firefox bookmarks. 7 Module implementing an importer for Firefox bookmarks.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 import os 12 import os
11 import sqlite3 13 import sqlite3
12 14
13 from PyQt4.QtCore import QCoreApplication, QDate, Qt, QUrl 15 from PyQt4.QtCore import QCoreApplication, QDate, Qt, QUrl
59 Constructor 61 Constructor
60 62
61 @param id source ID (string) 63 @param id source ID (string)
62 @param parent reference to the parent object (QObject) 64 @param parent reference to the parent object (QObject)
63 """ 65 """
64 super().__init__(id, parent) 66 super(FirefoxImporter, self).__init__(id, parent)
65 67
66 self.__fileName = "" 68 self.__fileName = ""
67 self.__db = None 69 self.__db = None
68 70
69 def setPath(self, path): 71 def setPath(self, path):

eric ide

mercurial