Fix format string for Blob.diff(); Format string items out of order relative to docstring and outargs.

This commit is contained in:
Ian P. McCullough
2014-05-08 08:50:21 -04:00
parent d882af8f52
commit 0c62c83135

View File

@@ -63,7 +63,7 @@ Blob_diff(Blob *self, PyObject *args, PyObject *kwds)
int err;
char *keywords[] = {"blob", "flag", "old_as_path", "new_as_path", NULL};
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O!ssI", keywords,
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O!Iss", keywords,
&BlobType, &py_blob, &opts.flags,
&old_as_path, &new_as_path))
return NULL;