diff options
author | Mike Fulbright <msf@redhat.com> | 2003-04-03 22:59:23 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-04-03 22:59:23 +0000 |
commit | c139d159f43e4cacb20576ff839532361a369655 (patch) | |
tree | db2401bc34e99385586908da1ac6c906c2d11686 /users.py | |
parent | fc75131e82ffd845ed8a97078482f9d3c630887e (diff) | |
download | anaconda-c139d159f43e4cacb20576ff839532361a369655.tar.gz anaconda-c139d159f43e4cacb20576ff839532361a369655.tar.xz anaconda-c139d159f43e4cacb20576ff839532361a369655.zip |
might help with expection output so we don't have to set it to None so it isnt printed
Diffstat (limited to 'users.py')
-rw-r--r-- | users.py | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -24,9 +24,13 @@ from flags import flags from rhpl.log import log class Accounts: + def __repr__(self): + return "<Type Accounts>" - # List of (accountName, fullName, password) tupes + def __str__(self): + return "<Type Accounts>" + # List of (accountName, fullName, password) tupes def setUserList(self, users): self.users = users @@ -86,6 +90,11 @@ class Password: return self.crypt class RootPassword(Password): + def __repr__(self): + return "<Type RootPassword>" + + def __str__(self): + return "<Type RootPassword>" def write(self, instPath, auth): pure = self.getPure() |