[Yt-svn] yt-commit r1418 - trunk/yt/lagos

britton at wrangler.dreamhost.com britton at wrangler.dreamhost.com
Mon Aug 31 12:37:50 PDT 2009


Author: britton
Date: Mon Aug 31 12:37:47 2009
New Revision: 1418
URL: http://yt.spacepope.org/changeset/1418

Log:
The lagos config keyword being set if the h5py import failed was 
"serialization", but the keyword being referred to everywhere else was 
"serialize".  That corrected, yt should no longer try to serialize anything 
if h5py is not installed.


Modified:
   trunk/yt/lagos/__init__.py

Modified: trunk/yt/lagos/__init__.py
==============================================================================
--- trunk/yt/lagos/__init__.py	(original)
+++ trunk/yt/lagos/__init__.py	Mon Aug 31 12:37:47 2009
@@ -41,7 +41,7 @@
     if not hasattr(h5py.h5, "ArgsError"):
         h5py.h5.ArgsError = h5py.h5.H5Error
 except ImportError:
-    ytcfg["lagos", "serialization"] = "False"
+    ytcfg["lagos", "serialize"] = "False"
     mylog.warning("No h5py. Data serialization disabled.")
 
 from yt.arraytypes import *



More information about the yt-svn mailing list