Some coding-style fixes, like not using tabs

This commit is contained in:
J. David Ibáñez
2014-02-12 22:11:10 +01:00
parent 9e6d33855c
commit 7fd633239f
2 changed files with 25 additions and 16 deletions

View File

@@ -67,18 +67,27 @@ TransferProgress_dealloc(TransferProgress *self)
}
PyMemberDef TransferProgress_members[] = {
RMEMBER(TransferProgress, total_objects, T_UINT, "Total number objects to download"),
RMEMBER(TransferProgress, indexed_objects, T_UINT, "Objects which have been indexed"),
RMEMBER(TransferProgress, received_objects, T_UINT, "Objects which have been received up to now"),
RMEMBER(TransferProgress, local_objects, T_UINT, "Local objects which were used to fix the thin pack"),
RMEMBER(TransferProgress, total_deltas, T_UINT, "Total number of deltas in the pack"),
RMEMBER(TransferProgress, indexed_deltas, T_UINT, "Deltas which have been indexed"),
/* FIXME: technically this is unsigned, but there's no value for size_t here. */
RMEMBER(TransferProgress, received_bytes, T_PYSSIZET, "Number of bytes received up to now"),
RMEMBER(TransferProgress, total_objects, T_UINT,
"Total number objects to download"),
RMEMBER(TransferProgress, indexed_objects, T_UINT,
"Objects which have been indexed"),
RMEMBER(TransferProgress, received_objects, T_UINT,
"Objects which have been received up to now"),
RMEMBER(TransferProgress, local_objects, T_UINT,
"Local objects which were used to fix the thin pack"),
RMEMBER(TransferProgress, total_deltas, T_UINT,
"Total number of deltas in the pack"),
RMEMBER(TransferProgress, indexed_deltas, T_UINT,
"Deltas which have been indexed"),
/* FIXME: technically this is unsigned, but there's no value for size_t
* here. */
RMEMBER(TransferProgress, received_bytes, T_PYSSIZET,
"Number of bytes received up to now"),
{NULL},
};
PyDoc_STRVAR(TransferProgress__doc__, "Progress downloading and indexing data during a fetch");
PyDoc_STRVAR(TransferProgress__doc__,
"Progress downloading and indexing data during a fetch");
PyTypeObject TransferProgressType = {
PyVarObject_HEAD_INIT(NULL, 0)