diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2015-09-28 09:46:36 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2015-09-28 10:01:29 -0700 |
commit | aa7e9ddb73efd727a0ade6eed102d512e91a1917 (patch) | |
tree | 8d1e5c6f325092682bc32737fc3fddc818bec7ff /python/servo/build_commands.py | |
parent | 7a3d2c8cb405f776117044986ab9fb93a6b7776e (diff) | |
download | servo-aa7e9ddb73efd727a0ade6eed102d512e91a1917.tar.gz servo-aa7e9ddb73efd727a0ade6eed102d512e91a1917.zip |
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
Diffstat (limited to 'python/servo/build_commands.py')
-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 } |