def get_package_version(pypiConn, pkg_name):
 pkg_result = [v for v in pypiConn.package_releases(pkg_name, True) if (not PRE_RELEASE_RE.search(v))]
 if pkg_result:
  pkg_version = pkg_result[0]
 else:
  pkg_version = 'Not available.'
 return pkg_version

def get_package_version ( pypiConn , pkg_name ) : pkg_result = [ v for v in pypiConn . package_releases ( pkg_name , True ) if ( not PRE_RELEASE_RE . search ( v ) ) ] if pkg_result : pkg_version = pkg_result [ 0 ] else : pkg_version = 'Not available.' return pkg_version
return the review board version as a python package version string .