<html><body>
<p>1 new commit in yt:</p>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/605942cb9f98/">https://bitbucket.org/yt_analysis/yt/commits/605942cb9f98/</a> Changeset: 605942cb9f98 Branch: yt User: jzuhone Date: 2016-04-20 18:10:40+00:00 Summary: Merged in xarthisius/yt (pull request #2128)</p>
<p>Add close() to HDF5FileHandler. Closes #1211 Affected #: 1 file</p>
<p>diff -r 27481b513244c9c7bb15578ed5381a812983e567 -r 605942cb9f98aaa215ee0bd67b0293bdd2302598 yt/utilities/file_handler.py --- a/yt/utilities/file_handler.py +++ b/yt/utilities/file_handler.py @@ -14,7 +14,6 @@</p>
<pre>#-----------------------------------------------------------------------------
from yt.utilities.on_demand_imports import _h5py as h5py</pre>
<p>–</p>
<pre>from distutils.version import LooseVersion
class HDF5FileHandler(object):</pre>
<p>@@ -51,6 +50,10 @@</p>
<pre> def items(self):
return list(self.handle.items())
</pre>
<p>+ def close(self): + if self.handle is not None: + self.handle.close() +</p>
<pre>class FITSFileHandler(HDF5FileHandler):
def __init__(self, filename):
from yt.utilities.on_demand_imports import _astropy</pre>
<p>Repository URL: <a href="https://bitbucket.org/yt_analysis/yt/">https://bitbucket.org/yt_analysis/yt/</a></p>
<p>—</p>
<p>This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.</p>
<img src="http://link.bitbucket.org/wf/open?upn=ll4ctv0L-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27Ct3zbQyFQrqVs1Xg4zr8Z37bPg5t7udU-2BZSyKSViVdjnS6buh0dyrEb0Y-2F8i1RpaZgo299DZTNgT5W8mM7JSOvrGx-2Bs1OSQmWq2udC9H2Is5XbXoc8NU2L7-2BUx3gqdtr1U91qs6SPqXcpKiCl9T5Vts34R5mdCmEyJ9nvaTSnjPtXbBGjgZW9x7CG3T6Fffac-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>