def get_license_text(license):
 if (license in GPL_LICENSES):
  (name, version) = GPL_LICENSES[license]
  return BASE_GPL.format(name=name, version=version).splitlines()
 elif (license == OSI):
  return BASE_OSI.splitlines()
 else:
  return ''

def get_license_text ( license ) : if ( license in GPL_LICENSES ) : ( name , version ) = GPL_LICENSES [ license ] return BASE_GPL . format ( name = name , version = version ) . splitlines ( ) elif ( license == OSI ) : return BASE_OSI . splitlines ( ) else : return ''
get the python license header for a license .