Skip to content
Browse files

Fix the get_keywords handler for kind!="ccfg"

A name must be given to the factory object for it to initialize
  • Loading branch information...
cvaroqui committed Aug 1, 2019
1 parent 97efdf8 commit 631ecf63a0f2b3e2157dd0ec65d0a017044a6004
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/
@@ -3107,7 +3107,7 @@ def action_get_keywords(self, nodename, **kwargs):
if kind == "node":
obj = shared.NODE
elif kind:
obj = factory(kind)(node=self)
obj = factory(kind)(name="dummy", node=self, volatile=True)
raise HTTP(400, "A kind must be specified.")
return obj.kwdict.KEYS.dump()

0 comments on commit 631ecf6

Please sign in to comment.
You can’t perform that action at this time.