| OLD | NEW |
| 1 # This file is part of the Adblock Plus web scripts, | 1 # This file is part of the Adblock Plus web scripts, |
| 2 # Copyright (C) 2006-present eyeo GmbH | 2 # Copyright (C) 2006-present eyeo GmbH |
| 3 # | 3 # |
| 4 # Adblock Plus is free software: you can redistribute it and/or modify | 4 # Adblock Plus is free software: you can redistribute it and/or modify |
| 5 # it under the terms of the GNU General Public License version 3 as | 5 # it under the terms of the GNU General Public License version 3 as |
| 6 # published by the Free Software Foundation. | 6 # published by the Free Software Foundation. |
| 7 # | 7 # |
| 8 # Adblock Plus is distributed in the hope that it will be useful, | 8 # Adblock Plus is distributed in the hope that it will be useful, |
| 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 dbdir = _defineProperty('signtool_dbdir') | 148 dbdir = _defineProperty('signtool_dbdir') |
| 149 dbpass = _defineProperty('signtool_dbpass') | 149 dbpass = _defineProperty('signtool_dbpass') |
| 150 | 150 |
| 151 keyFile = _defineProperty('key', local=True, default='') | 151 keyFile = _defineProperty('key', local=True, default='') |
| 152 name = _defineProperty('name', local=True) | 152 name = _defineProperty('name', local=True) |
| 153 galleryID = _defineProperty('galleryID', local=True, default='') | 153 galleryID = _defineProperty('galleryID', local=True, default='') |
| 154 devbuildGalleryID = _defineProperty('devbuildGalleryID', local=True, default
='') | 154 devbuildGalleryID = _defineProperty('devbuildGalleryID', local=True, default
='') |
| 155 downloadPage = _defineProperty('downloadPage', local=True, default='') | 155 downloadPage = _defineProperty('downloadPage', local=True, default='') |
| 156 clientID = _defineProperty('clientID', local=True, default='') | 156 clientID = _defineProperty('clientID', local=True, default='') |
| 157 clientSecret = _defineProperty('clientSecret', local=True, default='') | 157 clientSecret = _defineProperty('clientSecret', local=True, default='') |
| 158 privateKey = _defineProperty('privateKey', local=True, default='') |
| 159 thumbprint = _defineProperty('thumbprint', local=True, default='') |
| 158 refreshToken = _defineProperty('refreshToken', local=True, default='') | 160 refreshToken = _defineProperty('refreshToken', local=True, default='') |
| 159 tenantID = _defineProperty('tenantID', local=True, default='') | 161 tenantID = _defineProperty('tenantID', local=True, default='') |
| 160 revision = _defineProperty('revision', local=True, default='master') | 162 revision = _defineProperty('revision', local=True, default='master') |
| 161 | 163 |
| 162 latestRevision = _defineNightlyProperty('latestRevision') | 164 latestRevision = _defineNightlyProperty('latestRevision') |
| 163 | 165 |
| 164 def __init__(self, config, nightlyConfig, repositoryName, repository): | 166 def __init__(self, config, nightlyConfig, repositoryName, repository): |
| 165 """ | 167 """ |
| 166 Creates a new Configuration instance that is bound to a particular | 168 Creates a new Configuration instance that is bound to a particular |
| 167 repository. | 169 repository. |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 if not extensions: | 397 if not extensions: |
| 396 return | 398 return |
| 397 | 399 |
| 398 updates = {} | 400 updates = {} |
| 399 for extension in extensions: | 401 for extension in extensions: |
| 400 updates[extension['basename']] = { | 402 updates[extension['basename']] = { |
| 401 'url': extension['updateURL'], | 403 'url': extension['updateURL'], |
| 402 'version': extension['version'], | 404 'version': extension['version'], |
| 403 } | 405 } |
| 404 writeLibabpUpdateManifest(path, updates) | 406 writeLibabpUpdateManifest(path, updates) |
| OLD | NEW |