On Thu, 2012-01-19 at 17:18 -0500, James Antill wrote:
> On Thu, 2012-01-19 at 14:15 -0500, James Laska wrote:
> > While using the ascii-tree output format, I found it helpful to support
> > the --queryformat option to allow customized output using QUERYTAGS.
> 
>  Actually, it was almost perfect. :)
>  Pushed.

-        print "%s%s [%s]" % (indent, str(req), str(val))
+        self.pkg = req
+        self.name = req.name
+        print "%s%s [%s]" % (indent, self.fmt_queryformat(), str(val))

Aha!  Much simpler, I didn't think of that.

Thanks,
James

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to