os_user: fix typo (self is not defined)

This commit is contained in:
Paulo Matias 2017-01-04 14:57:00 -02:00 committed by Toshio Kuratomi
parent 95b59cd76c
commit d51064a05e

View file

@ -223,7 +223,7 @@ def main():
if not password:
msg = ("update_password is %s but a password value is "
"missing") % update_password
self.fail_json(msg=msg)
module.fail_json(msg=msg)
default_project_id = None
if default_project:
default_project_id = _get_default_project_id(cloud, default_project)