mailr11841 - /1.3/status.py


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

Header


Content

Posted by edward on December 16, 2010 - 12:18:
Author: bugman
Date: Thu Dec 16 12:18:14 2010
New Revision: 11841

URL: http://svn.gna.org/viewcvs/relax?rev=11841&view=rev
Log:
The unit/system test name is being placed into the locking log when debugging.


Modified:
    1.3/status.py

Modified: 1.3/status.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/status.py?rev=11841&r1=11840&r2=11841&view=diff
==============================================================================
--- 1.3/status.py (original)
+++ 1.3/status.py Thu Dec 16 12:18:14 2010
@@ -129,7 +129,10 @@
 
         # Debugging.
         if __main__.debug:
-            self.log.write("Release\n\n")
+            text = 'Release'
+            if hasattr(self, 'test_name'):
+                text = text + 'd by %s' % self.test_name
+            self.log.write("%s\n\n" % text)
             return
 
         # Release the real lock.




Related Messages


Powered by MHonArc, Updated Thu Dec 16 12:40:02 2010