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

Side by Side Diff: packagerSafari.py

Issue 29345187: Noissue - Got rid of non-defualt script encodings in buildtools (Closed)
Patch Set: Created May 28, 2016, 12:23 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 | « packagerGecko.py ('k') | publicSuffixListUpdater.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
2
3 # This Source Code Form is subject to the terms of the Mozilla Public 1 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this 2 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 4
7 import os 5 import os
8 import re 6 import re
9 import json 7 import json
10 import ConfigParser 8 import ConfigParser
11 from urlparse import urlparse 9 from urlparse import urlparse
12 10
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 fixAbsoluteUrls(files) 268 fixAbsoluteUrls(files)
271 269
272 dirname = metadata.get('general', 'basename') + '.safariextension' 270 dirname = metadata.get('general', 'basename') + '.safariextension'
273 for filename in files.keys(): 271 for filename in files.keys():
274 files[os.path.join(dirname, filename)] = files.pop(filename) 272 files[os.path.join(dirname, filename)] = files.pop(filename)
275 273
276 if not devenv and keyFile: 274 if not devenv and keyFile:
277 createSignedXarArchive(outFile, files, certs, key) 275 createSignedXarArchive(outFile, files, certs, key)
278 else: 276 else:
279 files.zip(outFile) 277 files.zip(outFile)
OLDNEW
« no previous file with comments | « packagerGecko.py ('k') | publicSuffixListUpdater.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld