Author: bugman Date: Fri Jul 29 18:08:26 2011 New Revision: 14006 URL: http://svn.gna.org/viewcvs/relax?rev=14006&view=rev Log: The traceback on warnings in debugging mode has been suppressed as it is hindering debugging. Modified: branches/gui_testing/relax_warnings.py Modified: branches/gui_testing/relax_warnings.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/relax_warnings.py?rev=14006&r1=14005&r2=14006&view=diff ============================================================================== --- branches/gui_testing/relax_warnings.py (original) +++ branches/gui_testing/relax_warnings.py Fri Jul 29 18:08:26 2011 @@ -42,7 +42,7 @@ message = "RelaxWarning: %s\n" % message # Print stack-trace in debug mode. - if status.debug: + if status.debug == 2: tb = "" for frame in inspect.stack()[4:]: file = frame[1]