[Zope-Checkins] SVN: Products.Five/trunk/sizeconfigure.py - whitespace cleanup

Yvo Schubbe y.2007- at wcm-solutions.de
Mon Jan 8 07:56:56 EST 2007


Log message for revision 71796:
  - whitespace cleanup

Changed:
  U   Products.Five/trunk/sizeconfigure.py

-=-
Modified: Products.Five/trunk/sizeconfigure.py
===================================================================
--- Products.Five/trunk/sizeconfigure.py	2007-01-08 12:52:49 UTC (rev 71795)
+++ Products.Five/trunk/sizeconfigure.py	2007-01-08 12:56:56 UTC (rev 71796)
@@ -26,9 +26,9 @@
 def get_size(self):
     size = ISized(self, None)
     if size is not None:
-	unit, amount = size.sizeForSorting()
-	if unit == 'byte':
-	    return amount
+        unit, amount = size.sizeForSorting()
+        if unit == 'byte':
+            return amount
     method = getattr(self, '__five_original_get_size', None)
     if method is not None:
         return self.__five_original_get_size()
@@ -37,11 +37,11 @@
     """Monkey the class to be sizable through Five"""
     # tuck away the original method if necessary
     if hasattr(class_, "get_size") and not isFiveMethod(class_.get_size):
-	class_.__five_original_get_size = class_.get_size
+        class_.__five_original_get_size = class_.get_size
     class_.get_size = get_size
     # remember class for clean up
     _monkied.append(class_)
-    
+
 def sizable(_context, class_):
     _context.action(
         discriminator = ('five:sizable', class_),



More information about the Zope-Checkins mailing list