def ensure_ca_bundle_dir():
 global ca_bundle_dir
 if (not ca_bundle_dir):
  ca_bundle_dir = os.path.join(sublime.packages_path(), 'User')
 if (not os.path.exists(ca_bundle_dir)):
  os.mkdir(ca_bundle_dir)

def ensure_ca_bundle_dir ( ) : global ca_bundle_dir if ( not ca_bundle_dir ) : ca_bundle_dir = os . path . join ( sublime . packages_path ( ) , 'User' ) if ( not os . path . exists ( ca_bundle_dir ) ) : os . mkdir ( ca_bundle_dir )
make sure we have a placed to save the merged-ca-bundle and system-ca-bundle .