(api, language_version)
return '%s-%s-SNAPSHOT' % (api['version'], language_version)
Returns the maven version.
Returns the maven version.
Returns the maven version .
def GetMavenVersion(api, language_version):
  """Returns the maven version."""
  if api.get('ownerDomain') == 'google.com':
    return '%s-rev%s-%s' %(api['version'],
                           api['revision'],
                           language_version)
  return '%s-%s-SNAPSHOT' % (api['version'], language_version)
def GetMavenVersion ( api , language_version ) : if api . get ( 'ownerDomain' ) == 'google.com' : return '%s-rev%s-%s' % ( api [ 'version' ] , api [ 'revision' ] , language_version ) return '%s-%s-SNAPSHOT' % ( api [ 'version' ] , language_version )