Example #1
0
    def update_all(self, localUrl, remoteUrl):
        updater = DownloadModuleUtil()
        remoteModule = RemoteModuleUtil()
        modUpdateList = remoteModule.get_module_list(remoteUrl)

        for modUpdate in modUpdateList:
            updater.download(remoteUrl + modUpdate, localUrl + modUpdate)
Example #2
0
    def update_all(self, localUrl, remoteUrl):
        updater         = DownloadModuleUtil()
        remoteModule    = RemoteModuleUtil()
        modUpdateList   = remoteModule.get_module_list(remoteUrl)

        for modUpdate in modUpdateList:
            updater.download(remoteUrl + modUpdate, localUrl + modUpdate)
Example #3
0
    def update(self, localUrl, remoteUrl):
        updater = DownloadModuleUtil()
        modList = List()
        modUpdateList = modList.get_list(localUrl, remoteUrl)

        if len(modUpdateList) > 0:
            for modUpdate in modUpdateList:
                updater.download(remoteUrl + modUpdate, localUrl + modUpdate)
Example #4
0
    def update(self, localUrl, remoteUrl):
        updater         = DownloadModuleUtil()
        modList         = List()
        modUpdateList   = modList.get_list(localUrl, remoteUrl)

        if len(modUpdateList) > 0:
            for modUpdate in modUpdateList:
                updater.download(remoteUrl + modUpdate, localUrl + modUpdate)