[yt-svn] commit/yt: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Jul 9 09:35:11 PDT 2015


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/d1ace2958d9b/
Changeset:   d1ace2958d9b
Branch:      yt
User:        jnaiman
Date:        2015-05-07 21:09:17+00:00
Summary:     small change for python 3 compatibility
Affected #:  1 file

diff -r 3e1887de7362d631d057e8ef56843f4015b008a3 -r d1ace2958d9b4488dcffcaceba282c8ddaf03d91 yt/fields/field_info_container.py
--- a/yt/fields/field_info_container.py
+++ b/yt/fields/field_info_container.py
@@ -126,7 +126,7 @@
         else:
             sml_name = None
         new_aliases = []
-        for ptype2, alias_name in self.keys():
+        for ptype2, alias_name in list(self):
             if ptype2 != ptype:
                 continue
             if alias_name not in sph_whitelist_fields:


https://bitbucket.org/yt_analysis/yt/commits/7ec5b0eb2127/
Changeset:   7ec5b0eb2127
Branch:      yt
User:        jzuhone
Date:        2015-07-09 16:35:02+00:00
Summary:     Merged in jnaiman/yt_for_python3_jn (pull request #1579)

small change for python 3 compatibility
Affected #:  1 file

diff -r 8a24aa8bb9e815acc4737f5d64d74be75472fb10 -r 7ec5b0eb212762924b344dcb9a94e04f475d5606 yt/fields/field_info_container.py
--- a/yt/fields/field_info_container.py
+++ b/yt/fields/field_info_container.py
@@ -126,7 +126,7 @@
         else:
             sml_name = None
         new_aliases = []
-        for ptype2, alias_name in self.keys():
+        for ptype2, alias_name in list(self):
             if ptype2 != ptype:
                 continue
             if alias_name not in sph_whitelist_fields:

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