Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   PATCH: pyparted: Remove an unneeded INCREF from pygeom (http://www.linux-archive.org/debian-user/249458-patch-pyparted-remove-unneeded-incref-pygeom.html)

Hans de Goede 02-20-2009 06:56 PM

PATCH: pyparted: Remove an unneeded INCREF from pygeom
 
Remove an unneeded INCREF from pygeom.
---
src/pygeom.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/pygeom.c b/src/pygeom.c
index 34cb54c..113eb76 100644
--- a/src/pygeom.c
+++ b/src/pygeom.c
@@ -109,7 +109,6 @@ int _ped_Geometry_init(_ped_Geometry *self, PyObject *args,
PyObject *kwds) {

self->length = geometry->length;
self->end = geometry->end;

- Py_INCREF(self);
return 0;
}

--
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Chris Lumens 02-20-2009 07:43 PM

PATCH: pyparted: Remove an unneeded INCREF from pygeom
 
> Remove an unneeded INCREF from pygeom.
> ---
> src/pygeom.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)

Committed, thanks.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 11:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.