Dan, Thanks for the clarification about the output formatting. Based upon your advice, and a little help from the code in info(), it now looks like:
$ pkg authority AUTHORITY URL awd (preferred) http://awd:10000/ mumak http://mumak:10000/ $ pkg authority awd mumak Authority: awd Origin URL: http://awd:10000/ SSL Key: None SSL Cert: None Catalog Last Updated: 2008-02-21 13:08:40.860697 Authority: mumak Origin URL: http://mumak:10000/ SSL Key: None SSL Cert: None Catalog Last Updated: 2008-04-02 00:01:58.368630 Better? > > > 1013 + ssl_key = os.path.abspath(ssl_key) > > > > > > Why abspath()? (os.path.exists() returns false for broken symlinks). > > > > It's a present from Stephen. Is os.path.exists() the approved way of > > doing this? > > I may have misunderstood this code: Are we telling packaging "here is a > path to a certificate-- use that pathname to get the cert when you need > it?" or: "here is a path to a certificate, take a copy of it and file > it away?" This is the path to a key file. This eventually gets passed into HTTPSCertHandler as a path and it opens the file under the covers and does stuff with it. -j _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
