[yt-svn] commit/yt: MatthewTurk: Adding a close call to FLASH _is_valid

Bitbucket commits-noreply at bitbucket.org
Wed Jan 18 10:33:28 PST 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/ff156e50f301/
changeset:   ff156e50f301
branch:      yt
user:        MatthewTurk
date:        2012-01-18 19:33:21
summary:     Adding a close call to FLASH _is_valid
affected #:  1 file

diff -r 4fe82421186ada168889384135c147ef9191a81b -r ff156e50f301f69beca2788e23b2de6b334415d6 yt/frontends/flash/data_structures.py
--- a/yt/frontends/flash/data_structures.py
+++ b/yt/frontends/flash/data_structures.py
@@ -353,6 +353,7 @@
             if "bounding box" in fileh["/"].keys():
                 fileh.close()
                 return True
+            fileh.close()
         except:
             pass
         return False

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