From 0c9e60e741e93b599af8a7c976112dc587ad23de Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Fri, 22 Jun 2001 23:56:28 +0000 Subject: various pychecker fixups --- users.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users.py') diff --git a/users.py b/users.py index 6c109bcf8..3f84a4f59 100644 --- a/users.py +++ b/users.py @@ -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) -- cgit