Skip to content
Snippets Groups Projects
Commit 564a18ce authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Fix a bug in _get_passworded_users method in Unix

The method used a wrong warning output function
parent 09743d3a
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ class Unix(OSBase):
user, passwd = match.groups()
if len(passwd) > 0 and passwd[0] == '!':
warn("Ignoring locked %s account." % user)
self.out.warn("Ignoring locked %s account." % user)
else:
users.append(user)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment