Hey,
I have prepared webrev for this bug, which do call api instead of pkg(1).
http://cr.opensolaris.org/~migi/10524_3/
best
Michal
Michal Pryc wrote:
Padraig O'Briain wrote:
On 08/07/09 18:05, Danek Duvall wrote:
On Fri, Aug 07, 2009 at 02:34:28PM +0100, Padraig O'Briain wrote:
The webrev, http://cr.opensolaris.org/~padraig/ips-10524-v1/, fixes
Please get the list of publishers not by running "pkg publisher",
but by
making the appropriate Python calls.
Why?
I would like the output from "pkg publisher" in the error window so
the user can copy the contents of the window to a bug report.
I think Danek asked to get the list of publishers not by calling
another subprocess, but rather calling:
for pub in api_o.get_publishers():
msg += pub.prefix
or something similar. I would agree with Danek in this case.
best
Michal
Padraig
Also, is this the only place you have a generic exception handler. It
seems like this ought not to be so tightly tied in with only
installupdate.
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss