src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
diff -r 9c1f429cb56b -r b47dfa7a137d src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py
--- a/src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py	Sun Dec 18 14:19:10 2022 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py	Sun Dec 18 19:33:46 2022 +0100
@@ -12,7 +12,7 @@
 
 from PyQt6.QtCore import QDateTime, Qt
 
-from eric7 import Utilities
+from eric7.SystemUtilities import OSUtilities
 
 from .Config import DefaultConfig, DefaultIgnores
 
@@ -51,11 +51,11 @@
 
     @return filename of the servers file (string)
     """
-    if Utilities.isWindowsPlatform():
+    if OSUtilities.isWindowsPlatform():
         appdata = os.environ["APPDATA"]
         return os.path.join(appdata, "Subversion", "servers")
     else:
-        homedir = Utilities.getHomeDir()
+        homedir = OSUtilities.getHomeDir()
         return os.path.join(homedir, ".subversion", "servers")
 
 
@@ -65,11 +65,11 @@
 
     @return filename of the config file (string)
     """
-    if Utilities.isWindowsPlatform():
+    if OSUtilities.isWindowsPlatform():
         appdata = os.environ["APPDATA"]
         return os.path.join(appdata, "Subversion", "config")
     else:
-        homedir = Utilities.getHomeDir()
+        homedir = OSUtilities.getHomeDir()
         return os.path.join(homedir, ".subversion", "config")
 
 

eric ide

mercurial