Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3456
96232974dcdb
parent 3190
a9a94491c4fd
child 3591
2f2a4a76dd22
--- a/Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.py	Thu Apr 03 23:05:31 2014 +0200
@@ -11,7 +11,7 @@
 from __future__ import unicode_literals
 try:
     str = unicode
-except (NameError):
+except NameError:
     pass
 
 import os
@@ -221,7 +221,7 @@
         
         if self.noResults:
             self.__createResultItem(
-                self.trUtf8('No indentation errors found.'), "", "")
+                self.tr('No indentation errors found.'), "", "")
             QApplication.processEvents()
         self.resultList.header().resizeSections(QHeaderView.ResizeToContents)
         self.resultList.header().setStretchLastSection(True)

eric ide

mercurial