SqlBrowser/SqlBrowser.py

changeset 428
58405c24aa09
parent 55
b5c84934de9c
child 453
a81097a85889
--- a/SqlBrowser/SqlBrowser.py	Thu Jul 29 08:50:45 2010 +0200
+++ b/SqlBrowser/SqlBrowser.py	Thu Jul 29 11:02:09 2010 +0200
@@ -60,7 +60,7 @@
                                                url.host(), url.port(-1))
             if err.type() != QSqlError.NoError:
                 self.__warnings.append(
-                    self.trUtf8("Unable to open connection: %s" % err.text()))
+                    self.trUtf8("Unable to open connection: {0}".format(err.text())))
         
         QTimer.singleShot(0, self.__uiStartUp)
     
@@ -178,4 +178,4 @@
         """
         Private slot to show info about Qt.
         """
-        QMessageBox.aboutQt(self, self.trUtf8("SQL Browser"))
\ No newline at end of file
+        QMessageBox.aboutQt(self, self.trUtf8("SQL Browser"))

eric ide

mercurial