mirror of
https://github.com/xcat2/confluent.git
synced 2025-07-06 21:05:35 +00:00
Fix problem with an unhandled command without a default.
This commit is contained in:
@ -98,7 +98,7 @@ def handle_path(path, operation, configmanager):
|
||||
passvalue = pluginmap[nodeattr[node][attrname]['value']].__dict__[operation](
|
||||
nodes=(node,), element=element,
|
||||
configmanager=configmanager)
|
||||
if plugroute['default']:
|
||||
if 'default' in plugroute:
|
||||
passvalue = pluginmap[plugroute['default']].__dict__[operation](
|
||||
nodes=(node,), element=element, configmanager=configmanager)
|
||||
if isinstance(passvalue, console.Console):
|
||||
|
Reference in New Issue
Block a user