[yt-svn] commit/yt-3.0: ngoldbaum: Correcting a typo in the place where YTFieldNotFound is called.

Bitbucket commits-noreply at bitbucket.org
Wed Dec 12 13:07:43 PST 2012


1 new commit in yt-3.0:


https://bitbucket.org/yt_analysis/yt-3.0/changeset/38e23c2fde10/
changeset:   38e23c2fde10
branch:      yt-3.0
user:        ngoldbaum
date:        2012-12-12 22:06:53
summary:     Correcting a typo in the place where YTFieldNotFound is called.
affected #:  1 file

diff -r b739b6a59d3db78d816cc6b8769b3708aa525912 -r 38e23c2fde10f2ec5f7e719ef95e21c70a5b1335 yt/data_objects/static_output.py
--- a/yt/data_objects/static_output.py
+++ b/yt/data_objects/static_output.py
@@ -258,7 +258,7 @@
             self._last_freq = field
             self._last_finfo = self.field_info[fname]
             return self._last_finfo
-        raise YTFieldNotFound((fname, ftype), self)
+        raise YTFieldNotFound((ftype, fname), self)
 
 def _reconstruct_pf(*args, **kwargs):
     pfs = ParameterFileStore()

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

--

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