diff --git a/bloom/rosdistro_api.py b/bloom/rosdistro_api.py index a88b8a9e..ad1142b3 100644 --- a/bloom/rosdistro_api.py +++ b/bloom/rosdistro_api.py @@ -136,6 +136,9 @@ def list_distributions(): def get_distribution_type(distro): return get_index().distributions[distro].get('distribution_type') +def get_python_version(distro): + return get_index().distributions[distro].get('python_version') + def get_most_recent(thing_name, repository, reference_distro): reference_distro_type = get_distribution_type(reference_distro)