summaryrefslogtreecommitdiff
path: root/buildstream/_frontend/cli.py
diff options
context:
space:
mode:
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)