SqlBrowser/SqlBrowserWidget.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3020
542e97d4ecb3
child 3060
5883ce99ee12
--- a/SqlBrowser/SqlBrowserWidget.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/SqlBrowser/SqlBrowserWidget.py	Fri Nov 01 15:48:48 2013 +0100
@@ -42,7 +42,8 @@
         self.table.addAction(self.deleteRowAction)
         
         if len(QSqlDatabase.drivers()) == 0:
-            E5MessageBox.information(self,
+            E5MessageBox.information(
+                self,
                 self.trUtf8("No database drivers found"),
                 self.trUtf8(
                     """This tool requires at least one Qt database driver. """
@@ -158,7 +159,8 @@
                 driver, dbName, user, password, host, port)
             
             if err.type() != QSqlError.NoError:
-                E5MessageBox.warning(self,
+                E5MessageBox.warning(
+                    self,
                     self.trUtf8("Unable to open database"),
                     self.trUtf8(
                         """An error occurred while opening the connection."""))

eric ide

mercurial