[yt-svn] commit/yt: atmyers: Fixing Issue #1338 in stable

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Mar 21 15:57:49 PDT 2017


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/ad3124510d3e/
Changeset:   ad3124510d3e
Branch:      stable
User:        atmyers
Date:        2017-03-21 21:45:33+00:00
Summary:     Fixing Issue #1338 in stable
Affected #:  1 file

diff -r 52f2595f340788c5303fbcc23df24f87b399ea44 -r ad3124510d3e12361134e06da4112bc9f828ffc7 yt/frontends/boxlib/data_structures.py
--- a/yt/frontends/boxlib/data_structures.py
+++ b/yt/frontends/boxlib/data_structures.py
@@ -406,6 +406,8 @@
             "materials.gamma", 1.6667)
 
     def _localize_check(self, fn):
+        if fn is None:
+            return None
         # If the file exists, use it.  If not, set it to None.
         root_dir = os.path.dirname(self.output_dir)
         full_fn = os.path.join(root_dir, fn)

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