[yt-svn] commit/yt: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu May 18 08:39:46 PDT 2017


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/1cfed85039c8/
Changeset:   1cfed85039c8
User:        ngoldbaum
Date:        2017-05-17 20:59:25+00:00
Summary:     only call comm.free if comm exists
Affected #:  1 file

diff -r 31f9175e8d8bce23bc870fd6c092011e2acf3964 -r 1cfed85039c8fca4de6c6936b209364cfc8c93c4 yt/utilities/parallel_tools/parallel_analysis_interface.py
--- a/yt/utilities/parallel_tools/parallel_analysis_interface.py
+++ b/yt/utilities/parallel_tools/parallel_analysis_interface.py
@@ -676,7 +676,8 @@
         self._distributed = comm is not None and self.comm.size > 1
 
     def __del__(self):
-        self.comm.Free()
+        if self.comm is not None:
+            self.comm.Free()
     """
     This is an interface specification providing several useful utility
     functions for analyzing something in parallel.


https://bitbucket.org/yt_analysis/yt/commits/3148ea36d1d6/
Changeset:   3148ea36d1d6
User:        ngoldbaum
Date:        2017-05-18 15:39:33+00:00
Summary:     Merge pull request #1400 from ngoldbaum/fix-improper-close-error

[bug] Fix cleanup error
Affected #:  1 file

diff -r 85556c2cc9ece324e2111b7d997e6661da3d7a47 -r 3148ea36d1d6095de82e3f4ef4f02e82d8d6266f yt/utilities/parallel_tools/parallel_analysis_interface.py
--- a/yt/utilities/parallel_tools/parallel_analysis_interface.py
+++ b/yt/utilities/parallel_tools/parallel_analysis_interface.py
@@ -676,7 +676,8 @@
         self._distributed = comm is not None and self.comm.size > 1
 
     def __del__(self):
-        self.comm.Free()
+        if self.comm is not None:
+            self.comm.Free()
     """
     This is an interface specification providing several useful utility
     functions for analyzing something in parallel.

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