Danek Duvall wrote:
Shawn Walker wrote:
In that case, yes, I could change it to that, but then I would have
to call ServerCatalog.__parse_entry instead and I don't care for that
form since it embeds the class name in the code.
Note that you could call self.__class__.__parse_entry() if there were no
other reason for __parse_entry() to be a classmethod.
I think there's some confusion here; __parse_entry is a @staticmethod.
__read_catalog, as far as I know, was the method being discussed, and it
is currently a @classmethod so that I can call __parse_entry as
cls.__parse_entry.
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss