def get_programming_language(repo_info):
    """Return programming language used for repository"""
    try:
        return repo_info.find('span', {'itemprop': 'programmingLanguage'}
            ).text.strip()
    except AttributeError:
        return
