Commit e5c6423e authored by Andreas Jung's avatar Andreas Jung

Collector #99: fixed broken Buckets.items()

parent 600d2b67
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
****************************************************************************/ ****************************************************************************/
#define BUCKETTEMPLATE_C "$Id: BucketTemplate.c,v 1.22 2001/12/20 20:16:53 andreasjung Exp $\n" #define BUCKETTEMPLATE_C "$Id: BucketTemplate.c,v 1.23 2001/12/21 16:04:50 andreasjung Exp $\n"
/* /*
** _bucket_get ** _bucket_get
...@@ -681,7 +681,7 @@ bucket_items(Bucket *self, PyObject *args) ...@@ -681,7 +681,7 @@ bucket_items(Bucket *self, PyObject *args)
UNLESS (o) goto err; UNLESS (o) goto err;
PyTuple_SET_ITEM(item, 1, o); PyTuple_SET_ITEM(item, 1, o);
if (PyList_SetItem(r, i, item) < 0) goto err; if (PyList_SetItem(r, i-low, item) < 0) goto err;
item = 0; item = 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment