git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python: Fixes for Python 3 (RHBZ#750889).
[libguestfs.git]
/
python
/
guestfs-py-byhand.c
diff --git
a/python/guestfs-py-byhand.c
b/python/guestfs-py-byhand.c
index
29be83b
..
1756963
100644
(file)
--- a/
python/guestfs-py-byhand.c
+++ b/
python/guestfs-py-byhand.c
@@
-168,7
+168,7
@@
py_guestfs_set_event_callback (PyObject *self, PyObject *args)
snprintf (key, sizeof key, "_python_event_%d", eh);
guestfs_set_private (g, key, py_callback);
snprintf (key, sizeof key, "_python_event_%d", eh);
guestfs_set_private (g, key, py_callback);
- py_eh = Py
Int
_FromLong ((long) eh);
+ py_eh = Py
Long
_FromLong ((long) eh);
return py_eh;
}
return py_eh;
}