diff options
author | jbj <devnull@localhost> | 2002-12-10 19:46:03 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-12-10 19:46:03 +0000 |
commit | fe6043016c84107132bd0dc80ef454d2c81342b7 (patch) | |
tree | ea5626d927f361cbd2b7bce8b4f6351b64240ec2 /python/rpmfd-py.c | |
parent | d412f8be53602c3a06d3b7b05a2fdae1af8a2b01 (diff) | |
download | librpm-tizen-fe6043016c84107132bd0dc80ef454d2c81342b7.tar.gz librpm-tizen-fe6043016c84107132bd0dc80ef454d2c81342b7.tar.bz2 librpm-tizen-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/rpmfd-py.c')
-rw-r--r-- | python/rpmfd-py.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmfd-py.c b/python/rpmfd-py.c index 0652824c0..f226cd6ab 100644 --- a/python/rpmfd-py.c +++ b/python/rpmfd-py.c @@ -227,7 +227,7 @@ PyTypeObject rpmfd_Type = { rpmfdObject * rpmfd_Wrap(FD_t fd) { - rpmfdObject *s = PyObject_NEW(rpmfdObject, &rpmfd_Type); + rpmfdObject *s = PyObject_New(rpmfdObject, &rpmfd_Type); if (s == NULL) return NULL; s->fd = fd; |