[yt-svn] commit/yt: xarthisius: [clump_handling] don't try to pass instructions to non existing children

Bitbucket commits-noreply at bitbucket.org
Tue Sep 25 07:17:20 PDT 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/ab03f817518b/
changeset:   ab03f817518b
branch:      yt
user:        xarthisius
date:        2012-09-25 16:09:04
summary:     [clump_handling] don't try to pass instructions to non existing children
affected #:  1 file

diff -r ae3f6a9e07a18644470391eaa684434ffc14bb8a -r ab03f817518bb824bc899f88f59bdeb8d4292ddb yt/analysis_modules/level_sets/clump_handling.py
--- a/yt/analysis_modules/level_sets/clump_handling.py
+++ b/yt/analysis_modules/level_sets/clump_handling.py
@@ -133,6 +133,7 @@
         else:
             exec(operation)
 
+        if self.children is None: return
         for child in self.children:
             child.pass_down(operation)

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