mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixed pylint errors on jboss state and module
This commit is contained in:
parent
de96db97c8
commit
06ae6eaf55
2 changed files with 2 additions and 2 deletions
|
@ -292,7 +292,7 @@ def __process_tokens_internal(tokens, start_at=0):
|
|||
log.debug(" TYPE: ASSIGNMENT")
|
||||
is_assignment = True
|
||||
else:
|
||||
raise CommandExecutionError('Unknown token!', 'Token:'+token)
|
||||
raise CommandExecutionError('Unknown token! Token: {0}'.format(token))
|
||||
|
||||
token_no = token_no + 1
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ def datasource_exists(name, jboss_config, datasource_properties, recreate=False)
|
|||
ret['result'] = False
|
||||
ret['comment'] = 'Could not create datasource. Stdout: '+create_result['stdout']
|
||||
else:
|
||||
raise CommandExecutionError('Unable to handle error', ds_result['failure-description'])
|
||||
raise CommandExecutionError('Unable to handle error: {0}'.format(ds_result['failure-description']))
|
||||
|
||||
if ret['result']:
|
||||
log.debug("ds_new_properties=%s", str(ds_new_properties))
|
||||
|
|
Loading…
Add table
Reference in a new issue