summaryrefslogtreecommitdiff
path: root/buildstream/_frontend/cli.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-05-17 14:41:11 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-05-17 14:46:46 +0900
commite023beb56b180316a58f409d48f158e9dc1ece95 (patch)
treeb6b1277c1063000f1bcfa425b194ef23291515b8 /buildstream/_frontend/cli.py
parentc205991ed80c0f18067e0daa5d67318735bc575d (diff)
downloadbuildstream-e023beb56b180316a58f409d48f158e9dc1ece95.tar.gz
_frontend: Notify failures when on linuxtristan/platform-app
Opens the door to platform specific frontend features, and implements a platform specific "notify" method. This is based on Valentin David's patch on merge request 447, and this fixes issue #385.
Diffstat (limited to 'buildstream/_frontend/cli.py')
-rw-r--r--buildstream/_frontend/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_frontend/cli.py b/buildstream/_frontend/cli.py
index 3c91cf80d..c321fa99f 100644
--- a/buildstream/_frontend/cli.py
+++ b/buildstream/_frontend/cli.py
@@ -170,7 +170,7 @@ def cli(context, **kwargs):
from .app import App
# Create the App, giving it the main arguments
- context.obj = App(dict(kwargs))
+ context.obj = App.create(dict(kwargs))
context.call_on_close(context.obj.cleanup)