def _get_links(): parser = SafeConfigParser() getDownloadLinks(parser) result = {} for section in parser.sections(): result[section] = parser.get(section, "downloadURL") return result
def _get_links(): parser = SafeConfigParser() getDownloadLinks(parser) result = {} for section in parser.sections(): result[section] = parser.get(section, "downloadURL") return result
def updateUpdateManifests(): """ updates all update manifests with the current versions """ parser = SafeConfigParser() getDownloadLinks(parser) writeUpdateManifest(parser)
def updateUpdateManifests(): """ updates all update manifests with the current versions """ parser = SafeConfigParser() getDownloadLinks(parser) writeUpdateManifest(parser)
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)