Helpviewer/Passwords/PasswordModel.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3145
a9de05d4a22f
--- a/Helpviewer/Passwords/PasswordModel.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Helpviewer/Passwords/PasswordModel.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a model for password management.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import Qt, QModelIndex, QAbstractTableModel
 
 
@@ -21,7 +23,7 @@
         @param manager reference to the password manager (PasswordManager)
         @param parent reference to the parent object (QObject)
         """
-        super().__init__(parent)
+        super(PasswordModel, self).__init__(parent)
         
         self.__manager = manager
         manager.changed.connect(self.__passwordsChanged)

eric ide

mercurial