James Antill wrote:
> 'abcd '.rstrip() == 'abcd'
>
> ...I guess we could do:
>
> msg.rstrip('\n').split('\n')
>
> ...everyone prefer that?
>
I'm thinking just rstrip() without the '\n' would suffice, no?
;-)
-- Jeroen
___
Yum-devel mailing list
Y
Seth Vidal wrote:
> I like splitlines() and then checking if the last line is empty - but
>
>
> we're bikeshedding the hell out of this. :)
>
No we're not! ;-)
-- Jeroen
___
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org
James Antill wrote:
> IIRC because stdout is not a terminal then stdio/etc. will turn it into
> "block buffered" mode. So we tend to get output like:
>
> "warning: blah\nwarning: foo\nsomethingelse\n"
>
> ...and we want those as 3 lines, in the DB. So I just did a split(), but
> that gives 4 lin
e is, shouldn't _compare_providers() take into account
version numbers as well?
I realize though my ayum.tsInfo.addInstall() of a po isn't supposed to
happen (should have used ayum.install()), but I wanted to put this in
front of you anyway.
Kind regards,
Jeroen van Meeuwen
-kanarip
==
Snippet:
earch, though there
is a ppc64/ repository for Everything and updates.
Am I right or wrong to conclude something is wrong here?
Kind regards,
Jeroen van Meeuwen
-kanarip
___
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel
seth vidal wrote:
> On Thu, 2008-12-25 at 16:44 +0100, Tim Lauridsen wrote:
>> Kedar Sovani wrote:
>>> Check for the repoclosure of a single package.
>>>
>>> Usecase: My automation scripts wanted to query the yum repositories for
>>> closure of a single package, instead of spending time on checking