summaryrefslogtreecommitdiffstats
path: root/plugins/passwd.py
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2008-03-05 14:15:36 +0100
committerMartin Sivak <msivak@redhat.com>2008-03-05 14:15:36 +0100
commitb9e406a6255e2f0f14c966acb492f2d4e8d3da8c (patch)
tree5f61f9abc34145ca14143ad72785d5262da93915 /plugins/passwd.py
parent379616173fb52318300334efdee234a251ad8302 (diff)
downloadfirstaidkit-b9e406a6255e2f0f14c966acb492f2d4e8d3da8c.tar.gz
firstaidkit-b9e406a6255e2f0f14c966acb492f2d4e8d3da8c.tar.xz
firstaidkit-b9e406a6255e2f0f14c966acb492f2d4e8d3da8c.zip
Sanitize the origin/level/importance system
Use reporting when possible (some messages automatically use Logger to avoid duplication) Improve the Output thread to use the new level/importance system
Diffstat (limited to 'plugins/passwd.py')
-rw-r--r--plugins/passwd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/passwd.py b/plugins/passwd.py
index fab9443..c55b64c 100644
--- a/plugins/passwd.py
+++ b/plugins/passwd.py
@@ -56,7 +56,7 @@ class PasswdPlugin(Plugin):
print spawnvch(executable = "/usr/bin/passwd", args = ["/usr/bin/passwd", "root"], chroot = Config.system.root).communicate(input = newpasswd+"\n"+newpasswd+"\n")
- self._reporting.info("Root password was reset to '%s'" % (newpasswd,), origin = self)
+ self._reporting.info("Root password was reset to '%s'" % (newpasswd,), level = PLUGIN, origin = self)
self._result=Return