mock mock.py,1.28,1.29
Jeffrey Robert Pitman (symbiont)
fedora-extras-commits at redhat.com
Sat Nov 12 14:32:24 UTC 2005
Author: symbiont
Update of /cvs/fedora/mock
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29898
Modified Files:
mock.py
Log Message:
Fix string output when printing error objects.
Index: mock.py
===================================================================
RCS file: /cvs/fedora/mock/mock.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- mock.py 23 Aug 2005 21:09:22 -0000 1.28
+++ mock.py 12 Nov 2005 14:32:22 -0000 1.29
@@ -49,6 +49,9 @@
self.msg = msg
self.resultcode = 1
+ def __str__(self):
+ return self.msg
+
class YumError(Error):
def __init__(self, msg):
Error.__init__(self, msg)
More information about the fedora-extras-commits
mailing list