[h5py] 344/455: Cleanup

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:49 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 330bc18ffc3305642e52aacf39179c72e883ebe4
Author: andrewcollette <andrew.collette at gmail.com>
Date:   Tue Jan 5 05:30:07 2010 +0000

    Cleanup
---
 h5py/highlevel.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/h5py/highlevel.py b/h5py/highlevel.py
index 58c53a3..997ac18 100644
--- a/h5py/highlevel.py
+++ b/h5py/highlevel.py
@@ -27,14 +27,12 @@ from __future__ import with_statement
 
 import os
 import numpy
-import threading
 import warnings
 import sys
 import math
 
 import os.path as op
 import posixpath as pp
-import weakref
 
 from h5py import h5, h5f, h5g, h5s, h5t, h5d, h5a, \
                  h5p, h5r, h5z, h5i, h5fd, h5o, h5l, \
@@ -61,6 +59,7 @@ def _memo_property(meth):
     2. Can't initialize the value in a constructor, unlike self._value caching
     """
     import functools
+    import weakref
     dct = weakref.WeakKeyDictionary()
     def wrap(self):
         if self not in dct:

-- 
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