mailr8718 - in /branches/ave_noe: ./ relax_errors.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 02, 2009 - 11:32:
Author: bugman
Date: Mon Feb  2 11:32:41 2009
New Revision: 8718

URL: http://svn.gna.org/viewcvs/relax?rev=8718&view=rev
Log:
Merged revisions 8717 via svnmerge from 
svn+ssh://bugman@xxxxxxxxxxx/svn/relax/1.3

........
  r8717 | bugman | 2009-02-02 11:30:54 +0100 (Mon, 02 Feb 2009) | 11 lines
  
  Fixed an annoying bug in the RelaxError debugging mode.
  
  The problem here is that the relax state was being saved in the __init__() 
methods if in debug mode.
  The result was that in try statements which catch and allow for 
RelaxErrors, the relax state was
  being saved even though the error message and exception was suppressed.  
The fix was to shift the
  state saving code into the __str__() method.
  
  A side effect of this change is a simplification of all the RelaxError 
classes as the debug code is
  no longer duplicated in each class.
........

Modified:
    branches/ave_noe/   (props changed)
    branches/ave_noe/relax_errors.py

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: branches/ave_noe/relax_errors.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/ave_noe/relax_errors.py?rev=8718&r1=8717&r2=8718&view=diff




Related Messages


Powered by MHonArc, Updated Tue Feb 03 00:00:03 2009