mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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
This commit is contained in:
parent
7a3d2c8cb4
commit
aa7e9ddb73
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 = {
|
||||
"linux": notify_linux,
|
||||
"linux2": notify_linux,
|
||||
"win": notify_win,
|
||||
"darwin": notify_darwin
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue