[Checkins] SVN: Products.CMFUid/trunk/Products/CMFUid/tests/test_uidannotation.py - whitespace cleanup

Yvo Schubbe y.2010 at wcm-solutions.de
Sun Dec 26 04:55:36 EST 2010


Log message for revision 119114:
  - whitespace cleanup

Changed:
  U   Products.CMFUid/trunk/Products/CMFUid/tests/test_uidannotation.py

-=-
Modified: Products.CMFUid/trunk/Products/CMFUid/tests/test_uidannotation.py
===================================================================
--- Products.CMFUid/trunk/Products/CMFUid/tests/test_uidannotation.py	2010-12-26 09:50:20 UTC (rev 119113)
+++ Products.CMFUid/trunk/Products/CMFUid/tests/test_uidannotation.py	2010-12-26 09:55:35 UTC (rev 119114)
@@ -51,18 +51,16 @@
         self.counter = 0
 
     def register(self, ob):
-
         uid_assigner = getUtility(IUniqueIdAnnotationManagement)
         annotation = uid_assigner(ob, UID_ATTRNAME)
         annotation.setUid( self.counter )
         self.counter += 1
 
     def unregister(self, ob):
-
         try:
-           delattr(ob, UID_ATTRNAME)
+            delattr(ob, UID_ATTRNAME)
         except AttributeError:
-           raise UniqueIdError
+            raise UniqueIdError
 
 
 class UniqueIdAnnotationToolTests(SecurityTest):
@@ -153,7 +151,7 @@
         annotation = getattr(dummy, UID_ATTRNAME, None)
 
         self.failUnless(annotation is not None)
-    
+
     def test_simulateItemAddRemovingUid(self):
         # an annotated object is set in place
         dummy = DummyContent(id='dummycontent')



More information about the checkins mailing list