def _maybe_localize_fq_name(module_name, fq_name):


























  PREFIX_LOCALIZATIONS = {
      "google.appengine._internal.mapreduce": "google.appengine.ext.mapreduce",
      "google.appengine.ext.mapreduce": "google.appengine._internal.mapreduce",
  }
  for local_module_prefix, fq_name_prefix in PREFIX_LOCALIZATIONS.iteritems():
    if (module_name.startswith(local_module_prefix)
        and fq_name.startswith(fq_name_prefix)):
      return fq_name.replace(fq_name_prefix, local_module_prefix, 1)
  return fq_name
Localizes fq_name to deal with path difference in python25/27 runtimes.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/ext/mapreduce/util.py/_maybe_localize_fq_name