summaryrefslogtreecommitdiffstats
path: root/rpmmodule/rpmmodule.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-03-04 16:26:45 +0000
committerMatt Wilson <msw@redhat.com>2000-03-04 16:26:45 +0000
commit2afe333b2677eb63261d771358e9b948a44d005e (patch)
tree29d334f9c747cf1adb86290d4617be1045296bf1 /rpmmodule/rpmmodule.c
parent70c4a9def0b7f7f02320597d2cf72e36ceeee798 (diff)
downloadanaconda-2afe333b2677eb63261d771358e9b948a44d005e.tar.gz
anaconda-2afe333b2677eb63261d771358e9b948a44d005e.tar.xz
anaconda-2afe333b2677eb63261d771358e9b948a44d005e.zip
fix color depth setting problem, added straight server entries to cards
Diffstat (limited to 'rpmmodule/rpmmodule.c')
-rw-r--r--rpmmodule/rpmmodule.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/rpmmodule/rpmmodule.c b/rpmmodule/rpmmodule.c
index 1d79f219f..3e943d768 100644
--- a/rpmmodule/rpmmodule.c
+++ b/rpmmodule/rpmmodule.c
@@ -927,8 +927,11 @@ static PyObject * hdrSubscript(hdrObject * s, PyObject * item) {
tag = PyInt_AsLong(item);
} else if (PyString_Check(item)) {
str = PyString_AsString(item);
- for (i = 0; i < rpmTagTableSize; i++)
+ printf ("CHECK %d\n", strcasecmp("VERSION", "version"));
+ for (i = 0; i < rpmTagTableSize; i++) {
+ printf ("get header %s <-> %s\n", rpmTagTable[i].name + 7, str);
if (!strcasecmp(rpmTagTable[i].name + 7, str)) break;
+ }
if (i < rpmTagTableSize) tag = rpmTagTable[i].val;
if (tag == -1) {
/* if we still don't have the tag, go looking for the header