summaryrefslogtreecommitdiff
path: root/python/rpmte-py.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-12-10 19:46:03 +0000
committerjbj <devnull@localhost>2002-12-10 19:46:03 +0000
commitfe6043016c84107132bd0dc80ef454d2c81342b7 (patch)
treeea5626d927f361cbd2b7bce8b4f6351b64240ec2 /python/rpmte-py.c
parentd412f8be53602c3a06d3b7b05a2fdae1af8a2b01 (diff)
downloadrpm-fe6043016c84107132bd0dc80ef454d2c81342b7.tar.gz
rpm-fe6043016c84107132bd0dc80ef454d2c81342b7.tar.bz2
rpm-fe6043016c84107132bd0dc80ef454d2c81342b7.zip
Add tp_{init,alloc,new,free} methods to rpmts.
Use PyObject_{New,Del} consistently throughout. CVS patchset: 5931 CVS date: 2002/12/10 19:46:03
Diffstat (limited to 'python/rpmte-py.c')
-rw-r--r--python/rpmte-py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmte-py.c b/python/rpmte-py.c
index 8cd19eb7a..18fd1bbfb 100644
--- a/python/rpmte-py.c
+++ b/python/rpmte-py.c
@@ -421,7 +421,7 @@ PyTypeObject rpmte_Type = {
rpmteObject * rpmte_Wrap(rpmte te)
{
- rpmteObject *s = PyObject_NEW(rpmteObject, &rpmte_Type);
+ rpmteObject *s = PyObject_New(rpmteObject, &rpmte_Type);
if (s == NULL)
return NULL;
s->te = te;