Bug 808280 - Remove unused imports from mozconfig.py; r=ted
authorGregory Szorc <gps@mozilla.com>
Thu, 17 Jan 2013 11:02:16 -0800
changeset 119122 d29ffd3357285b4797bff60bc3fb69cf4e71dfe6
parent 119121 80b5e01132547750edc264a7ddabce54e5a3e5aa
child 119127 b52c02f77cf5b76027fea25412e629cd3d551cb3
push id24191
push usergszorc@mozilla.com
push dateThu, 17 Jan 2013 19:03:21 +0000
treeherderautoland@d29ffd335728 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs808280
milestone21.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 808280 - Remove unused imports from mozconfig.py; r=ted By preventing the import of pymake, multiprocessing is no longer imported and BSDs should no longer choke when trying to import it. DONTBUILD
python/mozbuild/mozbuild/mozconfig.py
--- a/python/mozbuild/mozbuild/mozconfig.py
+++ b/python/mozbuild/mozbuild/mozconfig.py
@@ -3,19 +3,16 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from __future__ import unicode_literals
 
 import os
 import re
 import subprocess
 
-import pymake.parser
-from pymake.data import Makefile
-
 from mach.mixin.process import ProcessExecutionMixin
 
 
 MOZ_MYCONFIG_ERROR = '''
 The MOZ_MYCONFIG environment variable to define the location of mozconfigs
 is deprecated. If you wish to define the mozconfig path via an environment
 variable, use MOZCONFIG instead.
 '''.strip()