mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-09 20:02:20 +03:00
fixed log definition on local user
This commit is contained in:
parent
de959f6b42
commit
6b449d5c00
2 changed files with 2 additions and 2 deletions
|
@ -157,7 +157,7 @@ class AddUser(AbstractPlugin):
|
|||
else:
|
||||
return None, None, None
|
||||
except Exception as e:
|
||||
return 1, 'Could not execute command: {0}. Error Message: {1}'.format(command, str(e)), ''
|
||||
return 1, 'Could not execute command. Error Message: {0}'.format(str(e)), ''
|
||||
|
||||
|
||||
def handle_task(task, context):
|
||||
|
|
|
@ -169,7 +169,7 @@ class EditUser(AbstractPlugin):
|
|||
else:
|
||||
return None, None, None
|
||||
except Exception as e:
|
||||
return 1, 'Could not execute command: {0}. Error Message: {1}'.format(command, str(e)), ''
|
||||
return 1, 'Could not execute command. Error Message: {0}'.format(str(e)), ''
|
||||
|
||||
def handle_task(task, context):
|
||||
edit_user = EditUser(task, context)
|
||||
|
|
Loading…
Reference in a new issue