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

Side by Side Diff: packagerGecko.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 | « packagerChrome.py ('k') | packagerSafari.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 sys 6 import sys
9 import re 7 import re
10 import hashlib 8 import hashlib
11 import base64 9 import base64
12 import urllib 10 import urllib
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 files.preprocess([f for f, _ in metadata.items('preprocess')]) 381 files.preprocess([f for f, _ in metadata.items('preprocess')])
384 if keyFile: 382 if keyFile:
385 signFiles(files, keyFile) 383 signFiles(files, keyFile)
386 files.zip(outFile, sortKey=lambda x: '!' if x == 'META-INF/zigbert.rsa' else x) 384 files.zip(outFile, sortKey=lambda x: '!' if x == 'META-INF/zigbert.rsa' else x)
387 385
388 386
389 def autoInstall(baseDir, type, host, port, multicompartment=False): 387 def autoInstall(baseDir, type, host, port, multicompartment=False):
390 fileBuffer = StringIO() 388 fileBuffer = StringIO()
391 createBuild(baseDir, type=type, outFile=fileBuffer, multicompartment=multico mpartment) 389 createBuild(baseDir, type=type, outFile=fileBuffer, multicompartment=multico mpartment)
392 urllib.urlopen('http://%s:%s/' % (host, port), data=fileBuffer.getvalue()) 390 urllib.urlopen('http://%s:%s/' % (host, port), data=fileBuffer.getvalue())
OLDNEW
« no previous file with comments | « packagerChrome.py ('k') | packagerSafari.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld