diff options
author | Matt Wilson <msw@redhat.com> | 2001-06-22 23:56:28 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-06-22 23:56:28 +0000 |
commit | 0c9e60e741e93b599af8a7c976112dc587ad23de (patch) | |
tree | 201a62193d1e3c9cb0d9242cc20a8fcd3ee0fdf0 /users.py | |
parent | 34f2f5fd284cf8e70680934bc07d7539600ed312 (diff) | |
download | anaconda-0c9e60e741e93b599af8a7c976112dc587ad23de.tar.gz anaconda-0c9e60e741e93b599af8a7c976112dc587ad23de.tar.xz anaconda-0c9e60e741e93b599af8a7c976112dc587ad23de.zip |
various pychecker fixups
Diffstat (limited to 'users.py')
-rw-r--r-- | users.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -91,7 +91,7 @@ class RootPassword(Password): setPassword(instPath, "root", pure, auth.useMD5) else: setPassword(instPath, "root", self.getCrypted (), - auth.useMD5, alreadyCrypted = 1) + auth.useMD5, alreadyCrypted = 1) def writeKS(self, f): f.write("rootpw --iscrypted %s\n" % self.getCrypted()) @@ -106,7 +106,7 @@ def cryptPassword(password, useMD5): for i in range(saltLen): salt = salt + whrandom.choice (string.letters + - string.digits + './') + string.digits + './') return crypt.crypt (password, salt) |