summaryrefslogtreecommitdiffstats
path: root/users.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-04-03 22:59:23 +0000
committerMike Fulbright <msf@redhat.com>2003-04-03 22:59:23 +0000
commitc139d159f43e4cacb20576ff839532361a369655 (patch)
treedb2401bc34e99385586908da1ac6c906c2d11686 /users.py
parentfc75131e82ffd845ed8a97078482f9d3c630887e (diff)
downloadanaconda-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.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/users.py b/users.py
index 2d36b1173..11ad49933 100644
--- a/users.py
+++ b/users.py
@@ -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()