Lines Matching refs:userDir
180 self.userdir = userDir = self.GetUserCfgDir()
189 userDir, 'config-' + cfgType + '.cfg')
200 userDir = os.path.expanduser('~')
201 if userDir != '~': # expanduser() found user home dir
202 if not os.path.exists(userDir):
204 userDir + ',\n but the path does not exist.')
209 userDir = '~'
210 if userDir == "~": # still no path to home!
212 userDir = os.getcwd()
213 userDir = os.path.join(userDir, cfgDir)
214 if not os.path.exists(userDir):
216 os.mkdir(userDir)
219 userDir + '\n Check path and permissions.\n Exiting!\n')
224 return userDir