Ejemplo n.º 1
0
def _get_links():
  parser = SafeConfigParser()
  getDownloadLinks(parser)
  result = {}
  for section in parser.sections():
    result[section] = parser.get(section, "downloadURL")
  return result
Ejemplo n.º 2
0
def _get_links():
    parser = SafeConfigParser()
    getDownloadLinks(parser)
    result = {}
    for section in parser.sections():
        result[section] = parser.get(section, "downloadURL")
    return result
Ejemplo n.º 3
0
def updateUpdateManifests():
    """
    updates all update manifests with the current versions
    """

    parser = SafeConfigParser()
    getDownloadLinks(parser)
    writeUpdateManifest(parser)
Ejemplo n.º 4
0
def updateUpdateManifests():
  """
  updates all update manifests with the current versions
  """

  parser = SafeConfigParser()
  getDownloadLinks(parser)
  writeUpdateManifest(parser)
Ejemplo n.º 5
0
def updateLinks():
  """
  writes the current extension download links to a file
  """

  # Now get download links and save them to file
  result = SafeConfigParser()
  getDownloadLinks(result)
  file = open(get_config().get('extensions', 'downloadLinksFile'), 'wb')
  result.write(file)
  file.close()

  writePadFile(result)
def updateLinks():
    """
  writes the current extension download links to a file
  """

    # Now get download links and save them to file
    result = SafeConfigParser()
    getDownloadLinks(result)
    file = open(get_config().get('extensions', 'downloadLinksFile'), 'wb')
    result.write(file)
    file.close()

    writePadFile(result)