--- a/SqlBrowser/SqlConnectionDialog.py Fri Mar 11 08:55:14 2011 +0100 +++ b/SqlBrowser/SqlConnectionDialog.py Fri Mar 11 16:51:57 2011 +0100 @@ -18,11 +18,12 @@ import Utilities + class SqlConnectionDialog(QDialog, Ui_SqlConnectionDialog): """ Class implementing a dialog to enter the connection parameters. """ - def __init__(self, parent = None): + def __init__(self, parent=None): """ Constructor """ @@ -106,10 +107,10 @@ and the port (integer) """ return ( - self.driverCombo.currentText(), - self.databaseEdit.text(), - self.usernameEdit.text(), - self.passwordEdit.text(), - self.hostnameEdit.text(), - self.portSpinBox.value(), + self.driverCombo.currentText(), + self.databaseEdit.text(), + self.usernameEdit.text(), + self.passwordEdit.text(), + self.hostnameEdit.text(), + self.portSpinBox.value(), )