[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/locking/storage.py remove debugging trash

Fred L. Drake, Jr. fdrake at gmail.com
Tue Jul 26 11:46:29 EDT 2005


Log message for revision 37430:
  remove debugging trash

Changed:
  U   Zope3/trunk/src/zope/app/locking/storage.py

-=-
Modified: Zope3/trunk/src/zope/app/locking/storage.py
===================================================================
--- Zope3/trunk/src/zope/app/locking/storage.py	2005-07-26 15:37:18 UTC (rev 37429)
+++ Zope3/trunk/src/zope/app/locking/storage.py	2005-07-26 15:46:28 UTC (rev 37430)
@@ -149,18 +149,13 @@
     zope.component.adapts(ILockStorage)
 
     def __init__(self, context):
-        import sys
-        print >>sys.__stderr__, "sized:", repr(context)
         self.context = context
 
     def sizeForSorting(self):
         return ('item', self._get_size())
 
     def sizeForDisplay(self):
-        import sys
-        print >>sys.__stderr__, "sizeForDisplay:", repr(self.context)
         num_items = self._get_size()
-        print >>sys.__stderr__, "sizeForDisplay:", num_items, repr(self.context)
         if num_items == 1:
             return _('1 item')
         size = _('${items} items')



More information about the Zope3-Checkins mailing list