Sat, 30 Jun 2018 15:51:40 +0200
Fixed some code style issues.
--- a/Documentation/Source/eric6.Preferences.ConfigurationPages.DebuggerPython2Page.html Sat Jun 30 15:30:43 2018 +0200 +++ b/Documentation/Source/eric6.Preferences.ConfigurationPages.DebuggerPython2Page.html Sat Jun 30 15:51:40 2018 +0200 @@ -70,7 +70,7 @@ <td>Private slot handling a click of the refresh button.</td> </tr><tr> <td><a href="#DebuggerPython2Page.on_venvDlgButton_clicked">on_venvDlgButton_clicked</a></td> -<td>Slot documentation goes here.</td> +<td>Private slot to show the virtual environment manager dialog.</td> </tr><tr> <td><a href="#DebuggerPython2Page.save">save</a></td> <td>Public slot to save the Debugger Python configuration.</td> @@ -99,7 +99,7 @@ <h4>DebuggerPython2Page.on_venvDlgButton_clicked</h4> <b>on_venvDlgButton_clicked</b>(<i></i>) <p> - Slot documentation goes here. + Private slot to show the virtual environment manager dialog. </p><a NAME="DebuggerPython2Page.save" ID="DebuggerPython2Page.save"></a> <h4>DebuggerPython2Page.save</h4> <b>save</b>(<i></i>)
--- a/Documentation/Source/eric6.Preferences.ConfigurationPages.DebuggerPython3Page.html Sat Jun 30 15:30:43 2018 +0200 +++ b/Documentation/Source/eric6.Preferences.ConfigurationPages.DebuggerPython3Page.html Sat Jun 30 15:51:40 2018 +0200 @@ -70,7 +70,7 @@ <td>Private slot handling a click of the refresh button.</td> </tr><tr> <td><a href="#DebuggerPython3Page.on_venvDlgButton_clicked">on_venvDlgButton_clicked</a></td> -<td>Slot documentation goes here.</td> +<td>Private slot to show the virtual environment manager dialog.</td> </tr><tr> <td><a href="#DebuggerPython3Page.save">save</a></td> <td>Public slot to save the Debugger Python configuration.</td> @@ -99,7 +99,7 @@ <h4>DebuggerPython3Page.on_venvDlgButton_clicked</h4> <b>on_venvDlgButton_clicked</b>(<i></i>) <p> - Slot documentation goes here. + Private slot to show the virtual environment manager dialog. </p><a NAME="DebuggerPython3Page.save" ID="DebuggerPython3Page.save"></a> <h4>DebuggerPython3Page.save</h4> <b>save</b>(<i></i>)
--- a/Preferences/ConfigurationDialog.py Sat Jun 30 15:30:43 2018 +0200 +++ b/Preferences/ConfigurationDialog.py Sat Jun 30 15:51:40 2018 +0200 @@ -129,7 +129,8 @@ self.virtualenvManager = e5App().getObject("VirtualEnvManager") except KeyError: self.virtualenvManager = VirtualenvManager(self) - e5App().registerObject("VirtualEnvManager", self.virtualenvManager) + e5App().registerObject("VirtualEnvManager", + self.virtualenvManager) if displayMode == ConfigurationWidget.DefaultMode: self.configItems = {
--- a/Preferences/ConfigurationPages/DebuggerPython2Page.py Sat Jun 30 15:30:43 2018 +0200 +++ b/Preferences/ConfigurationPages/DebuggerPython2Page.py Sat Jun 30 15:51:40 2018 +0200 @@ -114,7 +114,7 @@ @pyqtSlot() def on_venvDlgButton_clicked(self): """ - Slot documentation goes here. + Private slot to show the virtual environment manager dialog. """ self.__virtualenvManager.showVirtualenvManagerDialog(modal=True) self.__populateAndSetVenvComboBox()
--- a/Preferences/ConfigurationPages/DebuggerPython3Page.py Sat Jun 30 15:30:43 2018 +0200 +++ b/Preferences/ConfigurationPages/DebuggerPython3Page.py Sat Jun 30 15:51:40 2018 +0200 @@ -114,7 +114,7 @@ @pyqtSlot() def on_venvDlgButton_clicked(self): """ - Slot documentation goes here. + Private slot to show the virtual environment manager dialog. """ self.__virtualenvManager.showVirtualenvManagerDialog(modal=True) self.__populateAndSetVenvComboBox()
--- a/VirtualEnv/VirtualenvManager.py Sat Jun 30 15:30:43 2018 +0200 +++ b/VirtualEnv/VirtualenvManager.py Sat Jun 30 15:51:40 2018 +0200 @@ -435,4 +435,4 @@ @return flag indicating a global environment @rtype bool """ - return self.__virtualEnvironments[venvName]["is_global"] + return self.__virtualEnvironments[venvName]["is_global"]
--- a/VirtualEnv/VirtualenvManagerDialog.py Sat Jun 30 15:30:43 2018 +0200 +++ b/VirtualEnv/VirtualenvManagerDialog.py Sat Jun 30 15:51:40 2018 +0200 @@ -89,8 +89,8 @@ from .VirtualenvAddEditDialog import VirtualenvAddEditDialog dlg = VirtualenvAddEditDialog(self.__manager) if dlg.exec_() == QDialog.Accepted: - venvName, venvDirectory, venvInterpreter, venvVariant, \ - isGlobal = dlg.getData() + (venvName, venvDirectory, venvInterpreter, venvVariant, + isGlobal) = dlg.getData() self.__manager.addVirtualEnv(venvName, venvDirectory, venvInterpreter, venvVariant, @@ -119,8 +119,8 @@ selectedItem.data(0, VirtualenvManagerDialog.IsGlobalRole) ) if dlg.exec_() == QDialog.Accepted: - venvName, venvDirectory, venvInterpreter, venvVariant, \ - isGlobal = dlg.getData() + (venvName, venvDirectory, venvInterpreter, venvVariant, + isGlobal) = dlg.getData() if venvName != oldVenvName: self.__manager.renameVirtualEnv( oldVenvName, venvName, venvDirectory, venvInterpreter,