src/modules/client/api.py
changeset 610 09641d85df90
parent 598 c53f6107fdb6
child 615 aeeeb9f31173
--- a/src/modules/client/api.py	Fri Oct 17 09:15:13 2008 +0100
+++ b/src/modules/client/api.py	Tue Oct 21 17:12:10 2008 -0700
@@ -786,6 +786,9 @@
         def get_text(self):
                 return self.__text
 
+        def __str__(self):
+                return self.__text
+
 class PackageInfo(object):
         """A class capturing the information about packages that a client
         could need. The fmri is guaranteed to be set. All other values may