Lines Matching refs:dir_path
211 dir_path = os.path.join(self.resdir, 'values-' + language + '-r' + country)
213 self.writeEngineList(dir_path, country)
215 def writeEngineList(self, dir_path, country):
216 if os.path.exists(dir_path) and not os.path.isdir(dir_path):
217 print "File exists in output directory path " + dir_path + ". Please remove it and try again."
239 os.path.join(dir_path, 'donottranslate-search_engines.xml'),
252 dir_path = os.path.dirname(out_path)
253 if not os.path.exists(dir_path):
254 os.makedirs(dir_path)
255 print 'Created directory ' + dir_path