diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-28 12:47:29 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-28 12:47:29 -0600 |
commit | 076f44a02d033bb5d0bb2e18065acdf18d98cce5 (patch) | |
tree | 5cb7790c0d85d993d3b9df821b5970e68f91701a | |
parent | 7933b484300131d3de79edbcf399288b22010616 (diff) | |
parent | aa7e9ddb73efd727a0ade6eed102d512e91a1917 (diff) | |
download | servo-076f44a02d033bb5d0bb2e18065acdf18d98cce5.tar.gz servo-076f44a02d033bb5d0bb2e18065acdf18d98cce5.zip |
Auto merge of #7769 - mbrubeck:notify-linux2, r=frewsxcv
Fix build notifications in Python 2.x on Linux
In Python 2.x on Linux, `sys.platform == 'linux2'`.
https://docs.python.org/2/library/sys.html#sys.platform
r? @frewsxcv
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7769)
<!-- Reviewable:end -->
-rw-r--r-- | python/servo/build_commands.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index d7ae9cd5f0e..44b884d24aa 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -98,6 +98,7 @@ def notify(title, text): platforms, this function acts as a no-op.""" platforms = { "linux": notify_linux, + "linux2": notify_linux, "win": notify_win, "darwin": notify_darwin } |