Bug 863794 - Add from future import __absolute_includes__ to mach. r=gps, a=npotb
authorJustin Lebar <justin.lebar@gmail.com>
Thu, 02 May 2013 17:17:13 -0400
changeset 119256 d1f31fced2ecebead594a65c5e9a1a8b444ca340
parent 119255 499a94cd7ed99b7f8ec4243c9fe587c781c8ec10
child 119257 326914cf630cb96e4ac0baa2afb140ca9cf4b881
push id754
push userjlebar@mozilla.com
push dateThu, 02 May 2013 21:18:05 +0000
reviewersgps, npotb
bugs863794
milestone18.0
Bug 863794 - Add from future import __absolute_includes__ to mach. r=gps, a=npotb ./mach dies on |logging.getLogger| without this.
python/mach/mach/main.py
--- a/python/mach/mach/main.py
+++ b/python/mach/mach/main.py
@@ -1,16 +1,16 @@
 # 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/.
 
 # This module provides functionality for the command-line build tool
 # (mach). It is packaged as a module because everything is a library.
 
-from __future__ import unicode_literals
+from __future__ import absolute_import, unicode_literals
 
 import argparse
 import codecs
 import imp
 import logging
 import os
 import sys