diff options
author | Martin Sivak <msivak@redhat.com> | 2008-03-05 14:15:36 +0100 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2008-03-05 14:15:36 +0100 |
commit | b9e406a6255e2f0f14c966acb492f2d4e8d3da8c (patch) | |
tree | 5f61f9abc34145ca14143ad72785d5262da93915 /plugins/passwd.py | |
parent | 379616173fb52318300334efdee234a251ad8302 (diff) | |
download | firstaidkit-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.py | 2 |
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 |