Commit 94c2f2bf authored by Jim Fulton's avatar Jim Fulton

Consistent indentation.

parent 283addf7
......@@ -10,7 +10,7 @@
WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
FOR A PARTICULAR PURPOSE
****************************************************************************/
****************************************************************************/
#define BTREETEMPLATE_C "$Id$\n"
......@@ -125,10 +125,10 @@ BTree_check_inner(BTree *self, Bucket *nextbucket)
result = 0;
goto Done;
Error:
Error:
PyErr_SetString(PyExc_AssertionError, errormsg);
result = -1;
Done:
Done:
/* No point updating access time -- this isn't a "real" use. */
PER_ALLOW_DEACTIVATION(self);
if (activated_child) {
......@@ -214,7 +214,7 @@ _BTree_get(BTree *self, PyObject *keyarg, int has_key)
}
}
Done:
Done:
PER_UNUSE(self);
return result;
}
......@@ -785,7 +785,7 @@ _BTree_set(BTree *self, PyObject *keyarg, PyObject *value,
memmove(d, d+1, (self->len - min) * sizeof(BTreeItem));
changed = 1;
Done:
Done:
#ifdef PERSISTENT
if (changed) {
if (PER_CHANGED(self) < 0) goto Error;
......@@ -794,7 +794,7 @@ Done:
PER_UNUSE(self);
return status;
Error:
Error:
assert(PyErr_Occurred());
if (self_was_empty) {
/* BTree_grow may have left the BTree in an invalid state. Make
......@@ -888,7 +888,7 @@ BTree_clear(BTree *self)
Py_INCREF(Py_None);
return Py_None;
err:
err:
PER_UNUSE(self);
return NULL;
}
......@@ -1334,7 +1334,7 @@ BTree_findRangeEnd(BTree *self, PyObject *keyarg, int low, int exclude_equal,
else
result = 0; /* simply not found */
Done:
Done:
if (self_got_rebound) {
PER_UNUSE(self);
}
......@@ -2039,7 +2039,7 @@ BTree_traverse(BTree *self, visitproc visit, void *arg)
VISIT(self->firstbucket);
Done:
Done:
return err;
#undef VISIT
......
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