This is a helper class/context manager used with the /tops/pdg/pdg.PathMap.html#edit method. The method returns an instance of this context manager, which can be used to edit the global path mapping instance. The $PDG_PATHMAP
variable is updated when the context manager exits.
with pdg.PathMap.edit() as path_map: path_map.addPathMapping(pdg.PathMap.LinuxZone, "/mnt/file/src_path", "/mnt/file/dst_path")