Re: python and rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chitlesh GOORAH wrote:
hai there
i got a question related with rpm

for mi in ts.dbMatch ('name', 'kernel'):

it searches for kernel
good. now I want it to search for 'hypervisor' ?

it is not a 'release'

how should i proceed?

--
http://clunixchit.blogspot.com

What about something like this

for mi in ts.dbMatch ('name', 'kernel'):
   name = mi['name']
   if name.find('hypervisor') <> -1:
# Do the stuff Tim Lauridsen

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux