summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Pollard <tom.pollard@codethink.co.uk>2019-08-08 17:23:59 +0100
committerTom Pollard <tom.pollard@codethink.co.uk>2019-08-08 17:23:59 +0100
commit7882050e63b320f21deb133ce255846e46673807 (patch)
tree2d258d25aaad84422c3b46837e87159baa9ab90b
parent33af5af4f5cf728e416aac1d6a2f2310969a6a93 (diff)
downloadbuildstream-tpollard/initfix.tar.gz
_frontend/app.py: Fixup node._assert_symbol_name() positional argstpollard/initfix
bst init was failing due to project_name_proc() incorrectly passing args to the method, remove erroneous None.
-rw-r--r--src/buildstream/_frontend/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_frontend/app.py b/src/buildstream/_frontend/app.py
index 826e797e1..87575b675 100644
--- a/src/buildstream/_frontend/app.py
+++ b/src/buildstream/_frontend/app.py
@@ -815,7 +815,7 @@ class App():
def project_name_proc(user_input):
try:
- node._assert_symbol_name(None, user_input, 'project name')
+ node._assert_symbol_name(user_input, 'project name')
except LoadError as e:
message = "{}\n\n{}\n".format(e, e.detail)
raise UsageError(message) from e