Browse Source

_objects.c: indentation/alignment tabs/spaces pedantry.

Change-Id: I53bc926f9364dcffa5dd048ef4a3d67a6e4293fa
Augie Fackler 14 years ago
parent
commit
3302c92c08
1 changed files with 3 additions and 3 deletions
  1. 3 3
      dulwich/_objects.c

+ 3 - 3
dulwich/_objects.c

@@ -59,7 +59,7 @@ static PyObject *py_parse_tree(PyObject *self, PyObject *args)
 		return NULL;
 
 	/* TODO: currently this returns a list; if memory usage is a concern,
-	* consider rewriting as a custom iterator object */
+	 * consider rewriting as a custom iterator object */
 	ret = PyList_New(0);
 
 	if (ret == NULL) {
@@ -97,7 +97,7 @@ static PyObject *py_parse_tree(PyObject *self, PyObject *args)
 		}
 
 		item = Py_BuildValue("(NlN)", name, mode,
-							 sha_to_pyhex((unsigned char *)text+namelen+1));
+		                     sha_to_pyhex((unsigned char *)text+namelen+1));
 		if (item == NULL) {
 			Py_DECREF(ret);
 			Py_DECREF(name);
@@ -193,7 +193,7 @@ static PyObject *py_sorted_tree_items(PyObject *self, PyObject *entries)
 		qsort_entries[n].mode = PyInt_AS_LONG(py_mode);
 
 		qsort_entries[n].tuple = PyObject_CallFunctionObjArgs(
-				tree_entry_cls, key, py_mode, py_sha, NULL);
+		                tree_entry_cls, key, py_mode, py_sha, NULL);
 		if (qsort_entries[n].tuple == NULL)
 			goto error;
 		n++;