[h5py] 212/455: Fix hbasename
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:34 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 5ee2eac4a0dd91521379cce9f3b4db521ba50dba
Author: andrewcollette <andrew.collette at gmail.com>
Date: Sat Jan 31 22:44:15 2009 +0000
Fix hbasename
---
h5py/highlevel.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/h5py/highlevel.py b/h5py/highlevel.py
index 8afdd92..d37a366 100644
--- a/h5py/highlevel.py
+++ b/h5py/highlevel.py
@@ -66,7 +66,7 @@ if config.API_18:
__all__ = ["File", "Group", "Dataset",
"Datatype", "AttributeManager"]
-def __hbasename(name):
+def _hbasename(name):
""" Basename function with more readable handling of trailing slashes"""
name = pp.basename(pp.normpath(name))
return name if name != '' else '/'
--
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