[Zodb-checkins] SVN: ZODB/branches/alienoid-btrees_pop/src/BTrees/B
more comments
Ruslan Spivak
rspivak at nuxeo.com
Wed Aug 31 18:11:25 EDT 2005
Log message for revision 38219:
more comments
Changed:
U ZODB/branches/alienoid-btrees_pop/src/BTrees/BTreeTemplate.c
U ZODB/branches/alienoid-btrees_pop/src/BTrees/BucketTemplate.c
-=-
Modified: ZODB/branches/alienoid-btrees_pop/src/BTrees/BTreeTemplate.c
===================================================================
--- ZODB/branches/alienoid-btrees_pop/src/BTrees/BTreeTemplate.c 2005-08-31 21:58:51 UTC (rev 38218)
+++ ZODB/branches/alienoid-btrees_pop/src/BTrees/BTreeTemplate.c 2005-08-31 22:11:25 UTC (rev 38219)
@@ -1774,8 +1774,10 @@
}
/* btree is not empty */
- if (failobj == NULL)
+ if (failobj == NULL) {
+ /* Pass back KeyError exception */
return NULL;
+ }
rdefault:
PyErr_Clear();
Py_INCREF(failobj);
Modified: ZODB/branches/alienoid-btrees_pop/src/BTrees/BucketTemplate.c
===================================================================
--- ZODB/branches/alienoid-btrees_pop/src/BTrees/BucketTemplate.c 2005-08-31 21:58:51 UTC (rev 38218)
+++ ZODB/branches/alienoid-btrees_pop/src/BTrees/BucketTemplate.c 2005-08-31 22:11:25 UTC (rev 38219)
@@ -1333,8 +1333,10 @@
}
/* bucket is not empty */
- if (failobj == NULL)
+ if (failobj == NULL) {
+ /* Pass back KeyError exception */
return NULL;
+ }
rdefault:
PyErr_Clear();
Py_INCREF(failobj);
More information about the Zodb-checkins
mailing list