src/eric7/VirtualEnv/VirtualenvManager.py

branch
server
changeset 10765
b0632e55ec9a
parent 10764
5915ca2466b2
child 10766
d35d6f96c24b
--- a/src/eric7/VirtualEnv/VirtualenvManager.py	Mon Jun 10 10:19:54 2024 +0200
+++ b/src/eric7/VirtualEnv/VirtualenvManager.py	Mon Jun 10 10:22:23 2024 +0200
@@ -84,9 +84,9 @@
         #   is_global:      a flag indicating a global environment
         #   is_conda:       a flag indicating an Anaconda environment
         #   is_remote:      a flag indicating a remotely accessed environment
-        #   is_eric_server  a flag indicating an eric IDE server environment
+        #   is_eric_server  a flag indicating an eric-ide server environment
         #   eric_server     a string giving the server name in case of an
-        #                   eric IDE server environment
+        #                   eric-ide server environment
         #   exec_path:      a string to be prefixed to the PATH environment
         #                   setting
         #   description     a description of the environment
@@ -156,7 +156,7 @@
 
     def __cleanEnvironments(self):
         """
-        Private method to delete all non-existent local or eric IDE server environments.
+        Private method to delete all non-existent local or eric-ide server environments.
         """
         removed = False
 
@@ -166,7 +166,7 @@
                 venvPath = venvItem.path
                 if venvPath:
                     if venvItem.is_eric_server:
-                        # It is an eric IDE server environment; check it is still valid.
+                        # It is an eric-ide server environment; check it is still valid.
                         ericServer = ericApp().getObject("EricServer")
                         if (
                             ericServer.isServerConnected()
@@ -722,13 +722,13 @@
     def isEricServerEnvironment(self, venvName, host=""):
         """
         Public method to test, if a given environment is an environment accessed
-        through an eric IDE server.
+        through an eric-ide server.
 
         @param venvName logical name of the virtual environment
         @type str
         @param host name of the host to check for or empty string to just check for
-            an eric IDE server environment
-        @return flag indicating an eric IDE server environment
+            an eric-ide server environment
+        @return flag indicating an eric-ide server environment
         @rtype bool
         """
         try:
@@ -746,11 +746,11 @@
 
     def getEricServerEnvironmentNames(self, host=""):
         """
-        Public method to get a list of defined eric IDE server environments.
+        Public method to get a list of defined eric-ide server environments.
 
         @param host host name to get environment names for (defaults to "")
         @type str (optional)
-        @return list of defined eric IDE server environments
+        @return list of defined eric-ide server environments
         @rtype list of str
         """
         environments = [

eric ide

mercurial