Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: sitescripts/extensions/bin/updateUpdateManifests.py

Issue 29344600: Noissue - Got rid of E129, E704, E712, E731 and F821 errors (Closed)
Patch Set: Created May 26, 2016, 12:49 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | sitescripts/notifications/parser.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # coding: utf-8 1 # coding: utf-8
2 2
3 # This file is part of the Adblock Plus web scripts, 3 # This file is part of the Adblock Plus web scripts,
4 # Copyright (C) 2006-2016 Eyeo GmbH 4 # Copyright (C) 2006-2016 Eyeo GmbH
5 # 5 #
6 # Adblock Plus is free software: you can redistribute it and/or modify 6 # Adblock Plus is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License version 3 as 7 # it under the terms of the GNU General Public License version 3 as
8 # published by the Free Software Foundation. 8 # published by the Free Software Foundation.
9 # 9 #
10 # Adblock Plus is distributed in the hope that it will be useful, 10 # Adblock Plus is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details. 13 # GNU General Public License for more details.
14 # 14 #
15 # You should have received a copy of the GNU General Public License 15 # You should have received a copy of the GNU General Public License
16 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 16 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
17 17
18 """ 18 """
19 Generate update manifests 19 Generate update manifests
20 ========================= 20 =========================
21 21
22 This script generates update manifests for all extensions and apps 22 This script generates update manifests for all extensions and apps
23 """ 23 """
24 24
25 import os 25 import os
26 import re 26 import re
27 import sys
27 import subprocess 28 import subprocess
28 from ConfigParser import SafeConfigParser 29 from ConfigParser import SafeConfigParser
29 30
30 from buildtools.packagerGecko import KNOWN_APPS 31 from buildtools.packagerGecko import KNOWN_APPS
31 from buildtools.packagerSafari import (get_developer_identifier, 32 from buildtools.packagerSafari import (get_developer_identifier,
32 get_certificates_and_key) 33 get_certificates_and_key)
33 34
34 from sitescripts.utils import get_config, get_template 35 from sitescripts.utils import get_config, get_template
35 from sitescripts.extensions.utils import ( 36 from sitescripts.extensions.utils import (
36 Configuration, getDownloadLinks, 37 Configuration, getDownloadLinks,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 """ 125 """
125 updates all update manifests with the current versions 126 updates all update manifests with the current versions
126 """ 127 """
127 128
128 parser = SafeConfigParser() 129 parser = SafeConfigParser()
129 getDownloadLinks(parser) 130 getDownloadLinks(parser)
130 writeUpdateManifest(parser) 131 writeUpdateManifest(parser)
131 132
132 if __name__ == "__main__": 133 if __name__ == "__main__":
133 updateUpdateManifests() 134 updateUpdateManifests()
OLDNEW
« no previous file with comments | « no previous file | sitescripts/notifications/parser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld