コード例 #1
0
ファイル: updater.py プロジェクト: StriykeR/xiin
    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)
コード例 #2
0
ファイル: updater.py プロジェクト: Iro4ka/xiin
    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)
コード例 #3
0
ファイル: updater.py プロジェクト: StriykeR/xiin
    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)
コード例 #4
0
ファイル: updater.py プロジェクト: Iro4ka/xiin
    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)