Florian Festi wrote:
I like it.

Small remarks:

If you use

return "<%s : %s >" % (self.__class__.__name__, str(self))

You don't have to overload the method for every sub class and you have the "right" class name - which may be better for debugging.

Make sense, i have moved __repr__ to PackageObject, so all child classes has one and changed it so it uses the Class name. (And removed the unwanted space too)


Tim
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to