fixed bug in dependency handling.
authorkramm <kramm>
Sun, 16 May 2004 18:53:30 +0000 (18:53 +0000)
committerkramm <kramm>
Sun, 16 May 2004 18:53:30 +0000 (18:53 +0000)
lib/python/tag.c

index 13b4863..9a53b58 100644 (file)
@@ -249,7 +249,9 @@ TAG* tag_getTAG(PyObject*self, TAG*prevTag, PyObject*tagmap)
                free(positions);
                return 0;
            }
-           int newid = tagmap_obj2id(tag->internals.tagmap, obj);
+           //int newid = tagmap_obj2id(tag->internals.tagmap, obj);
+           int newid = tagmap_obj2id(tagmap, obj);
+           mylog(" %08x(%d) tag_getTAG: dependency %d) %d->%08x -> assigning(%08x) id %d", (int)self, self->ob_refcnt, i, id, obj, tagmap, newid);
            PUT16(&t->data[positions[i]], newid);
        }
        free(positions);