diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-05-17 19:56:04 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-05-17 19:56:04 +0900 |
commit | 84a57b2fba41203b191b65e0f679f78a035ff9c8 (patch) | |
tree | 09825339b30364da2c14d1ed3063c0c17df7784c | |
parent | e023beb56b180316a58f409d48f158e9dc1ece95 (diff) | |
download | buildstream-84a57b2fba41203b191b65e0f679f78a035ff9c8.tar.gz |
_frontend/linuxapp.py: Fixed crash in previous commit
Commit e023beb56b180316a58f409d48f158e9dc1ece95 introduced
a crash with an invalid access to os.environ, this fixes it.
-rw-r--r-- | buildstream/_frontend/linuxapp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_frontend/linuxapp.py b/buildstream/_frontend/linuxapp.py index 436a619c8..92586bc40 100644 --- a/buildstream/_frontend/linuxapp.py +++ b/buildstream/_frontend/linuxapp.py @@ -29,6 +29,6 @@ class LinuxApp(App): def notify(self, title, text): - term = os.environ('TERM') + term = os.environ['TERM'] if term in ('xterm', 'vte'): click.echo("\033]777;notify;{};{}\007".format(title, text)) |