mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
handle jboss cli expression type in the parsing of the output
This commit is contained in:
parent
7e1abd77ba
commit
1945153399
1 changed files with 7 additions and 0 deletions
|
@ -298,6 +298,9 @@ def __process_tokens_internal(tokens, start_at=0):
|
|||
elif __is_assignment(token):
|
||||
log.debug(" TYPE: ASSIGNMENT")
|
||||
is_assignment = True
|
||||
elif __is_expression(token):
|
||||
log.debug(" TYPE: EXPRESSION")
|
||||
is_expression = True
|
||||
else:
|
||||
raise CommandExecutionError('Unknown token! Token: {0}'.format(token))
|
||||
|
||||
|
@ -372,3 +375,7 @@ def __get_quoted_string(token):
|
|||
|
||||
def __is_assignment(token):
|
||||
return token == '=>'
|
||||
|
||||
|
||||
def __is_expression(token):
|
||||
return token == 'expression'
|
||||
|
|
Loading…
Add table
Reference in a new issue