diff options
author | Cristian Gafton <gafton@redhat.com> | 1999-08-23 22:58:49 +0000 |
---|---|---|
committer | Cristian Gafton <gafton@redhat.com> | 1999-08-23 22:58:49 +0000 |
commit | 1dfeb221649f803f3064f291e9869bb077a2dacf (patch) | |
tree | 574f3b5afd9ebae388a150b611518e1769934aaf /rpmmodule | |
parent | 585422324723d6886455eb4e7986dee82beeb958 (diff) | |
download | anaconda-1dfeb221649f803f3064f291e9869bb077a2dacf.tar.gz anaconda-1dfeb221649f803f3064f291e9869bb077a2dacf.tar.xz anaconda-1dfeb221649f803f3064f291e9869bb077a2dacf.zip |
SOme more examples
Diffstat (limited to 'rpmmodule')
-rwxr-xr-x | rpmmodule/t | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rpmmodule/t b/rpmmodule/t index e5359dde1..777dd62ea 100755 --- a/rpmmodule/t +++ b/rpmmodule/t @@ -14,3 +14,9 @@ for n in db.findbyname('glibc'): for n in db.findbyfile('/bin/bash'): print "match:", db[n]['name'] +key = db.firstkey() +while key: + print "got:", db[key]['name'] + + key = db.nextkey(key) + |