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

Side by Side Diff: packagerChrome.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 | « packager.py ('k') | packagerGecko.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 sys 5 import sys
8 import os 6 import os
9 import re 7 import re
10 import json 8 import json
11 import struct 9 import struct
12 import io 10 import io
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 files['qunit/index.html'] = createScriptPage(params, 'testIndex.html.tmp l', 375 files['qunit/index.html'] = createScriptPage(params, 'testIndex.html.tmp l',
378 ('general', 'testScripts')) 376 ('general', 'testScripts'))
379 377
380 zipdata = files.zipToString() 378 zipdata = files.zipToString()
381 signature = None 379 signature = None
382 pubkey = None 380 pubkey = None
383 if keyFile != None: 381 if keyFile != None:
384 signature = signBinary(zipdata, keyFile) 382 signature = signBinary(zipdata, keyFile)
385 pubkey = getPublicKey(keyFile) 383 pubkey = getPublicKey(keyFile)
386 writePackage(outFile, pubkey, signature, zipdata) 384 writePackage(outFile, pubkey, signature, zipdata)
OLDNEW
« no previous file with comments | « packager.py ('k') | packagerGecko.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld