def ensure_ca_filesystem():
 ca_dir = ca_folder()
 if (not os.path.exists(ca_path())):
  genrootca_sh_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 'CA', 'genrootca.sh'))
  fileutils.ensure_tree(ca_dir)
  utils.execute('sh', genrootca_sh_path, cwd=ca_dir)

def ensure_ca_filesystem ( ) : ca_dir = ca_folder ( ) if ( not os . path . exists ( ca_path ( ) ) ) : genrootca_sh_path = os . path . abspath ( os . path . join ( os . path . dirname ( __file__ ) , 'CA' , 'genrootca.sh' ) ) fileutils . ensure_tree ( ca_dir ) utils . execute ( 'sh' , genrootca_sh_path , cwd = ca_dir )
ensure the ca filesystem exists .