예제 #1
0
파일: initr.py 프로젝트: Kashomon/pyrite
def make_out_dirs(out_dir):
  for direct in psettings.DIRS:
    file_util.makedirs_quiet(os.path.join(out_dir, direct))
예제 #2
0
파일: initr.py 프로젝트: Kashomon/pyrite
def ensure_base_dir_exists(path): 
  if os.path.isdir(path):
    return
  else:
    # print "The directory: %s doesn't exist." % path
    file_util.makedirs_quiet(path)