On Sat, 14 Mar 2009 00:18:45 Robert Lazzurs wrote:
On Fri, Mar 13, 2009 at 04:02, Martial Paupe
<martial(a)paupe.name> wrote:
> Hi all,
>
> I found out a bug with the following part of code:
>
> yum_utils_ver = sub_process.call("/usr/bin/rpmquery
> --queryformat=%{VERSION} yum-utils", shell=True, close_fds=True)
> if yum_utils_ver < "1.1.17":
> status.append(_("yum-utils need to be at least version 1.1.17 for
> reposync -l"))
>
> sub_process.call(..) returns an exit code and not stdout of the command
> and the if is always true.
Hello everyone,
Sorry my bad, however I was sure I had tested this as giving out the
correct version...clearly not.
Anyhoo patch now in my git branch lazzurs_master on github.
Take care.
No worries
Thanks for that
Babatoko
_______________________________________________
cobbler-devel mailing list
cobbler-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel