From aa7e9ddb73efd727a0ade6eed102d512e91a1917 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Mon, 28 Sep 2015 09:46:36 -0700 Subject: 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 --- python/servo/build_commands.py | 1 + 1 file changed, 1 insertion(+) (limited to 'python/servo/build_commands.py') 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 } -- cgit v1.2.3