ProjectPyramid/ConfigurationPage/PyramidPage.py

changeset 19
f4adfe6e51b0
parent 12
a8d87f7de3e1
child 21
e58828e9a847
--- a/ProjectPyramid/ConfigurationPage/PyramidPage.py	Thu Aug 30 15:36:06 2012 +0200
+++ b/ProjectPyramid/ConfigurationPage/PyramidPage.py	Thu Aug 30 17:18:56 2012 +0200
@@ -43,7 +43,7 @@
             consoleList.append("xterm -e")
         else:
             consoleList.append("konsole -e")
-            consoleList.append("@konsole --workdir . -e") 
+            consoleList.append("@konsole --workdir . -e")
             # KDE4 konsole spawns
             consoleList.append("gnome-terminal -x")
             consoleList.append("xterm -e")
@@ -96,28 +96,28 @@
         """
         Public slot to save the Pyramid configuration.
         """
-        self.__plugin.setPreferences("ConsoleCommand", 
+        self.__plugin.setPreferences("ConsoleCommand",
             self.consoleCommandCombo.currentText())
-        self.__plugin.setPreferences("ConsoleCommandNoClose", 
+        self.__plugin.setPreferences("ConsoleCommandNoClose",
             self.consoleCommandNoCloseCombo.currentText())
         
-        self.__plugin.setPreferences("VirtualEnvironmentPy2", 
+        self.__plugin.setPreferences("VirtualEnvironmentPy2",
             self.virtualEnvPy2Edit.text())
-        self.__plugin.setPreferences("VirtualEnvironmentPy3", 
+        self.__plugin.setPreferences("VirtualEnvironmentPy3",
             self.virtualEnvPy3Edit.text())
         
-        self.__plugin.setPreferences("Python2ConsoleType", 
+        self.__plugin.setPreferences("Python2ConsoleType",
             self.py2ShellCombo.itemData(self.py2ShellCombo.currentIndex()))
-        self.__plugin.setPreferences("Python3ConsoleType", 
+        self.__plugin.setPreferences("Python3ConsoleType",
             self.py3ShellCombo.itemData(self.py3ShellCombo.currentIndex()))
         
-        self.__plugin.setPreferences("PyramidDocUrl", 
+        self.__plugin.setPreferences("PyramidDocUrl",
             self.urlEdit.text())
     
     @pyqtSlot()
     def on_virtualEnvPy3Button_clicked(self):
         """
-        Private slot to select the virtual environment for Python 3 via a 
+        Private slot to select the virtual environment for Python 3 via a
         directory selection dialog.
         """
         vDir = self.virtualEnvPy3Edit.text()
@@ -135,7 +135,7 @@
     @pyqtSlot()
     def on_virtualEnvPy2Button_clicked(self):
         """
-        Private slot to select the virtual environment for Python 2 via a 
+        Private slot to select the virtual environment for Python 2 via a
         directory selection dialog.
         """
         vDir = self.virtualEnvPy2Edit.text()

eric ide

mercurial