Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-image-creator
Commits
564a18ce
Commit
564a18ce
authored
Jun 27, 2012
by
Nikos Skalkotos
Browse files
Fix a bug in _get_passworded_users method in Unix
The method used a wrong warning output function
parent
09743d3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
image_creator/os_type/unix.py
View file @
564a18ce
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment