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 -->
This commit is contained in:
bors-servo 2015-09-28 12:47:29 -06:00
commit 076f44a02d

View file

@ -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
}