summaryrefslogtreecommitdiffstats
path: root/comps.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 /comps.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 'comps.py')
-rw-r--r--comps.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/comps.py b/comps.py
index ff8b3294e..eaae1adb7 100644
--- a/comps.py
+++ b/comps.py
@@ -150,6 +150,12 @@ class Package:
self.size = header[rpm.RPMTAG_SIZE]
class HeaderList:
+ def __str__(self):
+ return "<Type HeaderList>"
+
+ def __reptr(self):
+ return "<Type HeaderList>"
+
def selected(self):
l = []
keys = self.packages.keys()