projects
/
snf-image-creator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09743d3
)
Fix a bug in _get_passworded_users method in Unix
author
Nikos Skalkotos
<skalkoto@grnet.gr>
Wed, 27 Jun 2012 09:59:18 +0000
(12:59 +0300)
committer
Nikos Skalkotos
<skalkoto@grnet.gr>
Wed, 27 Jun 2012 09:59:18 +0000
(12:59 +0300)
The method used a wrong warning output function
image_creator/os_type/unix.py
patch
|
blob
|
history
diff --git
a/image_creator/os_type/unix.py
b/image_creator/os_type/unix.py
index
06eccbf
..
e23f351
100644
(file)
--- a/
image_creator/os_type/unix.py
+++ b/
image_creator/os_type/unix.py
@@
-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)