diff options
author | Prabhjyot Singh Sodhi <prabhjyotsingh95@gmail.com> | 2015-02-22 02:06:07 +0530 |
---|---|---|
committer | Prabhjyot Singh Sodhi <prabhjyotsingh95@gmail.com> | 2015-02-22 02:06:07 +0530 |
commit | 12e2f30617c7b19ca99b7c1fa53bef8ab13b5d59 (patch) | |
tree | aa3cad7412c866f4f5717dd8b7c336ca3b554924 /python/servo/command_base.py | |
parent | b589735b47e0c8c9b008831a776a6db38b38cd5d (diff) | |
download | servo-12e2f30617c7b19ca99b7c1fa53bef8ab13b5d59.tar.gz servo-12e2f30617c7b19ca99b7c1fa53bef8ab13b5d59.zip |
changin os.exit to sys.exit
Fixes #5009
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r-- | python/servo/command_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py index b3a4b6d2feb..20ee3fb6527 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -152,7 +152,7 @@ class CommandBase(object): if "GONKDIR" not in env: # Things can get pretty opaque if this hasn't been set print("Please set $GONKDIR in your environment or servobild file") - os.exit(1) + sys.exit(1) if self.config["gonk"]["product"]: env["GONK_PRODUCT"] = self.config["gonk"]["product"] |