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
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 "i386") "i586") "i686") "x86_64" )
import rpm
print rpm.archscore(
print rpm.archscore(
print rpm.archscore(
print rpm.archscore(
test12:~ # python /tmp/python-arch.py
5
3
2
0