This is an automated email from the git hooks/post-receive script. yoh pushed a commit to tag 0.4 in repository python-mne.
commit ab718962a78edbf7a46c9739de3894f18e570d7f Author: [email protected] <[email protected]> Date: Tue Jun 26 07:53:56 2012 -0400 lazy import comment --- mne/datasets/sample/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mne/datasets/sample/__init__.py b/mne/datasets/sample/__init__.py index e952e09..c62c2ef 100644 --- a/mne/datasets/sample/__init__.py +++ b/mne/datasets/sample/__init__.py @@ -1,10 +1,11 @@ -# Author: Alexandre Gramfort <[email protected]> +# Authors: Alexandre Gramfort <[email protected]> +# Martin Luessi <[email protected]> # License: BSD Style. def _sample_version(path): """Get the version of the Sample dataset""" - import os.path as op + import os.path as op # lazy import so it does not become visible outside ver_fname = op.join(path, 'version.txt') if op.exists(ver_fname): fid = open(ver_fname, 'r') @@ -29,6 +30,7 @@ def data_path(path='.', force_update=False): force_update : bool Force update of the sample dataset even if a local copy exists. """ + # lazy import so things do not become visible outside import os.path as op from warnings import warn from distutils.version import LooseVersion -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
