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
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment