[Yt-svn] commit/yt: MatthewTurk: Thanks to Steffen Klemer for the fix for the "dict object has no len" error.

Bitbucket commits-noreply at bitbucket.org
Wed Sep 21 05:39:48 PDT 2011


1 new changeset in yt:

http://bitbucket.org/yt_analysis/yt/changeset/e34f3bf0ae8a/
changeset:   e34f3bf0ae8a
branch:      yt
user:        MatthewTurk
date:        2011-09-21 14:39:40
summary:     Thanks to Steffen Klemer for the fix for the "dict object has no len" error.
affected #:  1 file (-1 bytes)

--- a/scripts/iyt	Tue Sep 20 18:06:40 2011 -0600
+++ b/scripts/iyt	Wed Sep 21 08:39:40 2011 -0400
@@ -3,6 +3,7 @@
 from yt.mods import *
 from yt.data_objects.data_containers import AMRData
 namespace = locals().copy()
+namespace.pop("__builtins__", None)
 
 doc = """\

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