[yt-svn] commit/yt: MatthewTurk: Typo fix. This fixes syntax.

Bitbucket commits-noreply at bitbucket.org
Sat Nov 10 10:53:47 PST 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/7d852e905478/
changeset:   7d852e905478
branch:      yt
user:        MatthewTurk
date:        2012-11-10 19:53:36
summary:     Typo fix.  This fixes syntax.
affected #:  1 file

diff -r 66da587187b86e19ae50146341e51fe61d276899 -r 7d852e9054786462343c25865713771dcefbc52a yt/utilities/answer_testing/framework.py
--- a/yt/utilities/answer_testing/framework.py
+++ b/yt/utilities/answer_testing/framework.py
@@ -181,7 +181,7 @@
 def can_run_pf(pf_fn):
     path = ytcfg.get("yt", "test_data_dir")
     if not os.path.isdir(path):
-        retrun False
+        return False
     if isinstance(pf_fn, StaticOutput):
         return AnswerTestingTest.result_storage is not None
     with temp_cwd(path):
@@ -194,7 +194,7 @@
 def data_dir_load(pf_fn):
     path = ytcfg.get("yt", "test_data_dir")
     if not os.path.isdir(path):
-        retrun False
+        return False
     if isinstance(pf_fn, StaticOutput): return pf_fn
     with temp_cwd(path):
         pf = load(pf_fn)

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list