[Yt-svn] yt-commit r1331 - branches/yt-1.5/yt/lagos

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Tue Jun 9 16:26:36 PDT 2009


Author: mturk
Date: Tue Jun  9 16:26:36 2009
New Revision: 1331
URL: http://yt.spacepope.org/changeset/1331

Log:
Backporting change to yt-1.5 from Britton



Modified:
   branches/yt-1.5/yt/lagos/__init__.py

Modified: branches/yt-1.5/yt/lagos/__init__.py
==============================================================================
--- branches/yt-1.5/yt/lagos/__init__.py	(original)
+++ branches/yt-1.5/yt/lagos/__init__.py	Tue Jun  9 16:26:36 2009
@@ -33,13 +33,14 @@
     from pyhdf_np import SD # NumPy
     import pyhdf_np.error   # NumPy
 except:
-    mylog.warning("No HDF4 support")
+    mylog.info("No HDF4 support")
 
 import warnings
 try:
-     import h5py
+    import h5py
 except ImportError:
-    mylog.warning("No h5py. Data serialization will fail.")
+    ytcfg["lagos", "serialization"] = "False"
+    mylog.warning("No h5py. Data serialization disabled.")
 
 from yt.arraytypes import *
 import weakref



More information about the yt-svn mailing list