def _get_manifest_by_dir(package_dir):
 f = os.path.join(package_dir, roslib.manifest.MANIFEST_FILE)
 if f:
  return roslib.manifest.parse_file(f)
 else:
  return None

def _get_manifest_by_dir ( package_dir ) : f = os . path . join ( package_dir , roslib . manifest . MANIFEST_FILE ) if f : return roslib . manifest . parse_file ( f ) else : return None
helper routine for loading manifest instances .