Mercurial > hg
comparison mercurial/mpatch_module.c @ 29740:21ac534d7d30
mpatch: remove superfluous whitespaces
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 07 Aug 2016 09:49:07 +0900 |
parents | 55dd12204b8e |
children | b410e26692a4 |
comparison
equal
deleted
inserted
replaced
29739:84a8de5ac901 | 29740:21ac534d7d30 |
---|---|
46 if (PyObject_AsCharBuffer(tmp, &buffer, (Py_ssize_t*)&blen)) | 46 if (PyObject_AsCharBuffer(tmp, &buffer, (Py_ssize_t*)&blen)) |
47 return NULL; | 47 return NULL; |
48 if ((r = mpatch_decode(buffer, blen, &res)) < 0) { | 48 if ((r = mpatch_decode(buffer, blen, &res)) < 0) { |
49 if (!PyErr_Occurred()) | 49 if (!PyErr_Occurred()) |
50 PyErr_SetString(mpatch_Error, mpatch_errors[-r]); | 50 PyErr_SetString(mpatch_Error, mpatch_errors[-r]); |
51 return NULL; | 51 return NULL; |
52 } | 52 } |
53 return res; | 53 return res; |
54 } | 54 } |
55 | 55 |
56 static PyObject * | 56 static PyObject * |