[yt-svn] commit/yt-3.0: MatthewTurk: This AssertionError can mask other frontends, and other errors.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Oct 30 10:01:59 PDT 2013


1 new commit in yt-3.0:

https://bitbucket.org/yt_analysis/yt-3.0/commits/0ca385183a06/
Changeset:   0ca385183a06
Branch:      yt-3.0
User:        MatthewTurk
Date:        2013-10-30 18:01:45
Summary:     This AssertionError can mask other frontends, and other errors.
Affected #:  1 file

diff -r 75ffc619a1d7bee7cbfbe795e62107e4485e9a6f -r 0ca385183a06b5fd4057a139ccc7e29db348124d yt/frontends/art/data_structures.py
--- a/yt/frontends/art/data_structures.py
+++ b/yt/frontends/art/data_structures.py
@@ -426,7 +426,7 @@
             try:
                 amr_header_vals = read_attrs(fh, amr_header_struct, '>')
                 return True
-            except AssertionError:
+            except:
                 return False
         return False

Repository URL: https://bitbucket.org/yt_analysis/yt-3.0/

--

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