[h5py] 163/455: Fix GroupID._close

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to annotated tag 1.3.0
in repository h5py.

commit 2466311f4c3aa775d873379db874b0ba1fff247d
Author: andrewcollette <andrew.collette at gmail.com>
Date:   Tue Nov 25 02:42:36 2008 +0000

    Fix GroupID._close
---
 h5py/h5g.pxd | 3 ---
 h5py/h5g.pyx | 3 ---
 h5py/h5l.pxd | 2 --
 3 files changed, 8 deletions(-)

diff --git a/h5py/h5g.pxd b/h5py/h5g.pxd
index 6146669..b4dd5ee 100644
--- a/h5py/h5g.pxd
+++ b/h5py/h5g.pxd
@@ -15,9 +15,6 @@ include "defs.pxd"
 
 from h5 cimport ObjectID
 
-IF H5PY_18API:
-    from h5l cimport LinkProxy
-
 cdef class GroupID(ObjectID):
 
     IF H5PY_18API:
diff --git a/h5py/h5g.pyx b/h5py/h5g.pyx
index 239c2bf..07c5d69 100644
--- a/h5py/h5g.pyx
+++ b/h5py/h5g.pyx
@@ -253,9 +253,6 @@ cdef class GroupID(ObjectID):
         when their Python wrappers are freed.
         """
         H5Gclose(self.id)
-        IF H5PY_18API:
-            H5Gclose(self.id)  # extra ref in the LinkProxy
-
 
     @sync
     def link(self, char* current_name, char* new_name, 
diff --git a/h5py/h5l.pxd b/h5py/h5l.pxd
index 80f7e9f..e4f4195 100644
--- a/h5py/h5l.pxd
+++ b/h5py/h5l.pxd
@@ -12,8 +12,6 @@
 
 include "defs.pxd"
 
-from h5 cimport ObjectID
-
 cdef class LinkProxy:
 
     cdef hid_t id

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list