mirror of
https://github.com/servo/servo.git
synced 2025-07-26 00:30:22 +01:00
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:
commit
076f44a02d
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ def notify(title, text):
|
||||||
platforms, this function acts as a no-op."""
|
platforms, this function acts as a no-op."""
|
||||||
platforms = {
|
platforms = {
|
||||||
"linux": notify_linux,
|
"linux": notify_linux,
|
||||||
|
"linux2": notify_linux,
|
||||||
"win": notify_win,
|
"win": notify_win,
|
||||||
"darwin": notify_darwin
|
"darwin": notify_darwin
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue