--- a/QScintilla/SpellCheckingDialog.py Fri Jan 01 16:11:36 2010 +0000 +++ b/QScintilla/SpellCheckingDialog.py Sat Jan 02 15:11:35 2010 +0000 @@ -10,7 +10,7 @@ from PyQt4.QtGui import QDialog from PyQt4.QtCore import * -from Ui_SpellCheckingDialog import Ui_SpellCheckingDialog +from .Ui_SpellCheckingDialog import Ui_SpellCheckingDialog import Utilities @@ -47,7 +47,7 @@ Private method to advance to the next error. """ try: - self.__spell.next() + next(self.__spell) except StopIteration: self.__enableButtons(False) self.contextLabel.setText("")