projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26e32e4
)
python: In parsing args of write method of CrFile use int for length instead of Py_ss...
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Wed, 3 Jul 2013 10:55:47 +0000
(12:55 +0200)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Wed, 3 Jul 2013 11:47:24 +0000
(13:47 +0200)
src/python/compression_wrapper-py.c
patch
|
blob
|
history
diff --git
a/src/python/compression_wrapper-py.c
b/src/python/compression_wrapper-py.c
index
f261377
..
4971159
100644
(file)
--- a/
src/python/compression_wrapper-py.c
+++ b/
src/python/compression_wrapper-py.c
@@
-196,7
+196,7
@@
static PyObject *
py_write(_CrFileObject *self, PyObject *args)
{
char *str;
-
Py_ssize_
t len;
+
in
t len;
GError *tmp_err = NULL;
if (!PyArg_ParseTuple(args, "s#:set_num_of_pkgs", &str, &len))