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

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Sun Jan 11 10:26:48 PST 2009


Author: mturk
Date: Sun Jan 11 10:26:47 2009
New Revision: 1100
URL: http://yt.spacepope.org/changeset/1100

Log:
function can be None in the reconstruction step...



Modified:
   trunk/yt/lagos/Clump.py

Modified: trunk/yt/lagos/Clump.py
==============================================================================
--- trunk/yt/lagos/Clump.py	(original)
+++ trunk/yt/lagos/Clump.py	Sun Jan 11 10:26:47 2009
@@ -72,7 +72,8 @@
                 (self.parent, self.field, self.min, self.max,
                  self.function_value, self.children, self.data, self.function))
 
-def _reconstruct_clump(parent, field, mi, ma, function_value, children, data, function):
+def _reconstruct_clump(parent, field, mi, ma, function_value, children, data,
+        function=None):
     obj = object.__new__(Clump)
     if iterable(parent): parent = parent[1]
     if children is None: children = []



More information about the yt-svn mailing list