Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build notifications in Python 2.x on Linux #7769

Merged
merged 1 commit into from Sep 28, 2015
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

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
  • Loading branch information
mbrubeck committed Sep 28, 2015
commit aa7e9ddb73efd727a0ade6eed102d512e91a1917
@@ -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
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.