docs: def os_application_version_set(package):
      '''Set version of application for Juju 2.0 and later'''
      application_version = get_upstream_version(package)
      # NOTE(jamespage) if not able to figure out package version, fallback to
      #                 openstack codename version detection.
      if not application_version:
          application_version_set(os_release(package))
      else:
          application_version_set(application_version)