summaryrefslogtreecommitdiffstats
path: root/users.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-06-22 23:56:28 +0000
committerMatt Wilson <msw@redhat.com>2001-06-22 23:56:28 +0000
commit0c9e60e741e93b599af8a7c976112dc587ad23de (patch)
tree201a62193d1e3c9cb0d9242cc20a8fcd3ee0fdf0 /users.py
parent34f2f5fd284cf8e70680934bc07d7539600ed312 (diff)
downloadanaconda-0c9e60e741e93b599af8a7c976112dc587ad23de.tar.gz
anaconda-0c9e60e741e93b599af8a7c976112dc587ad23de.tar.xz
anaconda-0c9e60e741e93b599af8a7c976112dc587ad23de.zip
various pychecker fixups
Diffstat (limited to 'users.py')
-rw-r--r--users.py4
1 files changed, 2 insertions, 2 deletions
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)