bug 1396993 - fix flake8 lint. r=bustage CLOSED TREE
authorTed Mielczarek <ted@mielczarek.org>
Mon, 27 Nov 2017 09:57:49 -0500
changeset 393730 f5e947cf3133d68f61e4b931a8516f458c8f0645
parent 393729 ada1b4b1951bbe29bae0f0259c17adff1f31de7e
child 393731 c0245a5ba4ba74b16c24771dae0e50fe22443898
push id97714
push usertmielczarek@mozilla.com
push dateMon, 27 Nov 2017 14:59:22 +0000
treeherdermozilla-inbound@f5e947cf3133 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1396993
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1396993 - fix flake8 lint. r=bustage CLOSED TREE MozReview-Commit-ID: LYxUmVzYMbz
build/moz.configure/rust.configure
--- a/build/moz.configure/rust.configure
+++ b/build/moz.configure/rust.configure
@@ -1,20 +1,22 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+
 @imports(_from='os.path', _import='expanduser')
 def add_rustup_path(what):
     # rustup installs rustc/cargo into ~/.cargo/bin by default,
     # so look there if the binaries aren't in $PATH.
     return [what, os.path.join(expanduser('~/.cargo/bin'), what)]
 
+
 # Rust is required by `rust_compiler` below. We allow_missing here
 # to propagate failures to the better error message there.
 rustc = check_prog('RUSTC', add_rustup_path('rustc'), allow_missing=True)
 cargo = check_prog('CARGO', add_rustup_path('cargo'), allow_missing=True)
 
 
 @depends_if(rustc)
 @checking('rustc version', lambda info: info.version)