Author: bugman Date: Fri Dec 17 13:04:44 2010 New Revision: 11861 URL: http://svn.gna.org/viewcvs/relax?rev=11861&view=rev Log: More informative nesting information in the execution lock debugging. Modified: 1.3/status.py Modified: 1.3/status.py URL: http://svn.gna.org/viewcvs/relax/1.3/status.py?rev=11861&r1=11860&r2=11861&view=diff ============================================================================== --- 1.3/status.py (original) +++ 1.3/status.py Fri Dec 17 13:04:44 2010 @@ -107,13 +107,13 @@ # Do not acquire if lunching a script from a script. if name == 'script UI' and self._name == 'script UI' and self.locked(): - # Debugging. - if __main__.debug: - self.log.write("Nested by %s\n" % name) - self.log.flush() - # Increment the nesting counter. self._script_nest += 1 + + # Debugging. + if __main__.debug: + self.log.write("Nested by %s (to level %s)\n" % (name, self._script_nest)) + self.log.flush() # Return without doing anything. return