Bug 1460726: Environment variables are strings; rs=bustage-fix a=me
authorTom Prince <mozilla@hocat.ca>
Tue, 15 May 2018 23:57:07 -0600
changeset 28226 0ff181e14e7f2c8c5ecb8aad658a3cc29031213c
parent 28225 2039414ea21c481e1419a7040e3f5202072247c9
child 28227 39a9f1a0d89b144248a7583029fc2d00db59bf01
push id2077
push usermozilla@hocat.ca
push dateWed, 16 May 2018 05:57:26 +0000
treeherdercomm-esr52@0ff181e14e7f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix, me
bugs1460726
Bug 1460726: Environment variables are strings; rs=bustage-fix a=me
mail/test/resources/installmozmill.py
--- a/mail/test/resources/installmozmill.py
+++ b/mail/test/resources/installmozmill.py
@@ -79,17 +79,17 @@ def main(args=None):
   # The --no-site-packages is because of https://github.com/pypa/virtualenv/issues/165
   returncode = call([sys.executable, os.path.join('virtualenv', 'virtualenv.py'),
                      destination], env=env)
   if returncode:
     print 'Failure to install virtualenv'
     sys.exit(returncode)
   pip = entry_point_path(destination, 'pip')
 
-  if os.environ.get('MOZ_AUTOMATION') == 1:
+  if os.environ.get('MOZ_AUTOMATION') == '1':
         find_links = [
             '--find-links', 'http://pypi.pub.build.mozilla.org/pub/',
             '--no-index',
         ]
   else:
         find_links = []
 
   # Install mozbase packages to the virtualenv