src/eric7/Plugins/VcsPlugins/vcsGit/GitUtilities.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9413
80c06d472826
child 9653
e67609152c5e
--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitUtilities.py	Sun Dec 18 14:19:10 2022 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitUtilities.py	Sun Dec 18 19:33:46 2022 +0100
@@ -11,7 +11,7 @@
 
 from PyQt6.QtCore import QProcessEnvironment
 
-from eric7 import Utilities
+from eric7.SystemUtilities import OSUtilities
 
 
 def getConfigPath():
@@ -20,11 +20,11 @@
 
     @return filename of the config file (string)
     """
-    if Utilities.isWindowsPlatform():
+    if OSUtilities.isWindowsPlatform():
         userprofile = os.environ["USERPROFILE"]
         return os.path.join(userprofile, ".gitconfig")
     else:
-        homedir = Utilities.getHomeDir()
+        homedir = OSUtilities.getHomeDir()
         return os.path.join(homedir, ".gitconfig")
 
 

eric ide

mercurial