[yt-svn] commit/yt-3.0: MatthewTurk: This fixes detecting all added fields.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Oct 25 09:54:20 PDT 2013


1 new commit in yt-3.0:

https://bitbucket.org/yt_analysis/yt-3.0/commits/d927877e4039/
Changeset:   d927877e4039
Branch:      yt-3.0
User:        MatthewTurk
Date:        2013-10-25 17:59:18
Summary:     This fixes detecting all added fields.
Affected #:  1 file

diff -r 69034824f51e8ff3ac076e0ee3ded333c534d4ad -r d927877e40391cb0f50d581a3e74f941482c333f yt/geometry/geometry_handler.py
--- a/yt/geometry/geometry_handler.py
+++ b/yt/geometry/geometry_handler.py
@@ -248,7 +248,7 @@
         fi = self.parameter_file.field_info
         # First we construct our list of fields to check
         fields_to_check = []
-        for field in fi.keys():
+        for field in fi:
             finfo = fi[field]
             # Explicitly defined
             if isinstance(field, tuple):

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