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

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10437:2f70ca07f0af 10438:4cd7e5a8b3cf
17 17
18 def getServersPath(): 18 def getServersPath():
19 """ 19 """
20 Module function to get the filename of the servers file. 20 Module function to get the filename of the servers file.
21 21
22 @return filename of the servers file (string) 22 @return filename of the servers file
23 @rtype str
23 """ 24 """
24 if OSUtilities.isWindowsPlatform(): 25 if OSUtilities.isWindowsPlatform():
25 appdata = os.environ["APPDATA"] 26 appdata = os.environ["APPDATA"]
26 return os.path.join(appdata, "Subversion", "servers") 27 return os.path.join(appdata, "Subversion", "servers")
27 else: 28 else:
31 32
32 def getConfigPath(): 33 def getConfigPath():
33 """ 34 """
34 Module function to get the filename of the config file. 35 Module function to get the filename of the config file.
35 36
36 @return filename of the config file (string) 37 @return filename of the config file
38 @rtype str
37 """ 39 """
38 if OSUtilities.isWindowsPlatform(): 40 if OSUtilities.isWindowsPlatform():
39 appdata = os.environ["APPDATA"] 41 appdata = os.environ["APPDATA"]
40 return os.path.join(appdata, "Subversion", "config") 42 return os.path.join(appdata, "Subversion", "config")
41 else: 43 else:

eric ide

mercurial