From 5e9c42908318317251925a07d3d70d0331c622cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= Date: Fri, 24 May 2013 23:08:08 +0200 Subject: [PATCH] Remove trailing whitespace --- docs/objects.rst | 2 +- docs/oid.rst | 10 +++++----- src/pygit2.c | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/objects.rst b/docs/objects.rst index 970a0c3..36edf95 100644 --- a/docs/objects.rst +++ b/docs/objects.rst @@ -129,7 +129,7 @@ them to the Git object database: There are also some functions to calculate the oid for a byte string without creating the blob object: - + .. autofunction:: pygit2.hash .. autofunction:: pygit2.hashfile diff --git a/docs/oid.rst b/docs/oid.rst index 3df5d3a..1ffc08c 100644 --- a/docs/oid.rst +++ b/docs/oid.rst @@ -47,17 +47,17 @@ The Oid type The constructor expects either a raw or a hex oid, but not both. An Oid object is created from the hexadecimal form this way:: - + >>> from pygit2 import Oid - + >>> hex = "cff3ceaefc955f0dbe1957017db181bc49913781" >>> oid1 = Oid(hex=hex) - + An Oid object is created from the raw form this way:: - + >>> from binascii import unhexlify >>> from pygit2 import Oid - + >>> raw = unhexlify("cff3ceaefc955f0dbe1957017db181bc49913781") >>> oid2 = Oid(raw=raw) diff --git a/src/pygit2.c b/src/pygit2.c index 94bb06d..758a96c 100644 --- a/src/pygit2.c +++ b/src/pygit2.c @@ -137,8 +137,8 @@ clone_repository(PyObject *self, PyObject *args) { const char *push_spec, *checkout_branch; int err; - if (!PyArg_ParseTuple(args, "zzIzzzzz", - &url, &path, &bare, &remote_name, &push_url, + if (!PyArg_ParseTuple(args, "zzIzzzzz", + &url, &path, &bare, &remote_name, &push_url, &fetch_spec, &push_spec, &checkout_branch)) return NULL;