Lines Matching refs:userDir
171 userDir=self.GetUserCfgDir()
180 userDir, 'config-' + cfgType + '.cfg')
191 userDir = os.path.expanduser('~')
192 if userDir != '~': # expanduser() found user home dir
193 if not os.path.exists(userDir):
195 userDir + ',\n but the path does not exist.')
200 userDir = '~'
201 if userDir == "~": # still no path to home!
203 userDir = os.getcwd()
204 userDir = os.path.join(userDir, cfgDir)
205 if not os.path.exists(userDir):
207 os.mkdir(userDir)
210 userDir + '\n Check path and permissions.\n Exiting!\n')
214 return userDir