mailr14558 - /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 September 01, 2011 - 11:30:
Author: bugman
Date: Thu Sep  1 11:30:34 2011
New Revision: 14558

URL: http://svn.gna.org/viewcvs/relax?rev=14558&view=rev
Log:
Clean up of the debugging printouts from the status module.


Modified:
    1.3/status.py

Modified: 1.3/status.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/status.py?rev=14558&r1=14557&r2=14558&view=diff
==============================================================================
--- 1.3/status.py (original)
+++ 1.3/status.py Thu Sep  1 11:30:34 2011
@@ -385,7 +385,7 @@
         for key in self._keys:
             # Debugging.
             if self._status.debug:
-                sys.stdout.write("debug> Observer '%s' notifying '%s'.\n" % 
(self._name, key))
+                sys.stdout.write("debug> Observer: '%s' notifying '%s'.\n" % 
(self._name, key))
 
             # Call the method.
             self._callback[key]()
@@ -406,7 +406,7 @@
 
         # Debugging.
         if self._status.debug:
-            sys.stdout.write("debug> Observer '%s' registering '%s'.\n" % 
(self._name, key))
+            sys.stdout.write("debug> Observer: '%s' registering '%s'.\n" % 
(self._name, key))
 
         # Add the method to the dictionary of callbacks.
         self._callback[key] = method
@@ -442,7 +442,7 @@
 
         # Debugging.
         if self._status.debug:
-            sys.stdout.write("debug> Observer '%s' unregistering '%s'.\n" % 
(self._name, key))
+            sys.stdout.write("debug> Observer: '%s' unregistering '%s'.\n" % 
(self._name, key))
 
         # Remove the method from the dictionary of callbacks.
         self._callback.pop(key)
@@ -489,7 +489,7 @@
 
         # Debugging.
         if self._status.debug:
-            sys.stdout.write("debug> Acquisition of '%s' by '%s'.\n" % 
(self.name, acquirer))
+            sys.stdout.write("debug> Lock '%s':  Acquisition by '%s'.\n" % 
(self.name, acquirer))
 
         # Fake lock.
         if self._fake_lock:
@@ -526,7 +526,7 @@
 
         # Debugging.
         if self._status.debug:
-            sys.stdout.write("debug> Release of '%s' by '%s'.\n" % 
(self.name, acquirer))
+            sys.stdout.write("debug> Lock '%s':  Release by '%s'.\n" % 
(self.name, acquirer))
 
         # Fake lock.
         if self._fake_lock:




Related Messages


Powered by MHonArc, Updated Thu Sep 01 11:40:02 2011