Comment 5 for bug 333871

Revision history for this message
Pete Pamz (ppanz) wrote :

Hello,

now i have the output of "rpm.archscore"

test12:~ # rpm -q python
python-2.4.2-18.25

test12:~ # cat /tmp/python-arch.py
import rpm
print rpm.archscore("i386")
print rpm.archscore("i586")
print rpm.archscore("i686")
print rpm.archscore("x86_64")

test12:~ # python /tmp/python-arch.py
5
3
2
0