Re: need some help!

Basem Narmok <[email protected]> Tue, 22 Mar 2005 10:45:44 +0200
Newsgroups gmane.linux.redhat.rpm.python
Message-ID <[email protected]>
Hi all,
I had a small script that worked for a while, but now days on rhel4 it 
doesn't !!

consider this:

mi=ts.dbMatch("name","foo")
for hdr in mi:  #*THE PROBLEM HERE!*
   print "%s-%s-%s" % (hdr[’name’], hdr[’version’], hdr[’release’])

the script just doesn't go in the for loop!! what is the problem?

Thanks all
Basem Narmok