koji: small patch to fix warnings
John Morris
john at zultron.com
Wed Apr 4 17:16:42 UTC 2012
After the koji.conf 'pkgurl' attribute was enabled (sigul wants this;
I'll submit a patch for that too, later), one of my scripts broke
because the "Warning: the pkgurl option is obsolete" message is printed
to stdout instead of stderr. Here's a little patch to print the warning
with the warn() function instead.
I realize some warnings from the cli might be best printed to stdout,
but for ones that might appear when using a computer-readable type of
command like 'list-* --quiet', stderr seems like the better choice.
Thanks-
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: koji-warnings.patch
Type: text/x-patch
Size: 943 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/buildsys/attachments/20120404/fd6e15f9/attachment.bin>
More information about the buildsys
mailing list