aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrapper/bootstrap.py
diff options
context:
space:
mode:
authorUK992 <urbankrajnc92@gmail.com>2016-09-28 21:20:01 +0200
committerUK992 <urbankrajnc92@gmail.com>2016-09-28 22:58:38 +0200
commitb0fabec6c748877bb4f6c5caf181a4d6cdedc038 (patch)
treeb31b0597f50bdd17d5e9d5df4ec7457b529c132d /python/servo/bootstrapper/bootstrap.py
parenta082501173918d6a5808881f84556cb78391b9b2 (diff)
downloadservo-b0fabec6c748877bb4f6c5caf181a4d6cdedc038.tar.gz
servo-b0fabec6c748877bb4f6c5caf181a4d6cdedc038.zip
Fix msvc packages download dir for custom `.servo` location
Diffstat (limited to 'python/servo/bootstrapper/bootstrap.py')
-rw-r--r--python/servo/bootstrapper/bootstrap.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/servo/bootstrapper/bootstrap.py b/python/servo/bootstrapper/bootstrap.py
index c6ac9d196eb..d07dc12fc3c 100644
--- a/python/servo/bootstrapper/bootstrap.py
+++ b/python/servo/bootstrapper/bootstrap.py
@@ -13,7 +13,7 @@ from windows_msvc import WindowsMsvcBootstrapper
class Bootstrapper(object):
"""Main class that performs system bootstrap."""
- def __init__(self):
+ def __init__(self, context):
self.instance = None
cls = None
args = {}
@@ -28,6 +28,7 @@ class Bootstrapper(object):
sys.exit('Bootstrap support is not yet available for your OS.')
self.instance = cls(**args)
+ self.instance.context = context
def bootstrap(self, android=False, interactive=False, force=False):
self.instance.interactive = interactive