[Checkins] SVN: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/ Nuke trailing white space

Maurits van Rees m.van.rees at zestsoftware.nl
Tue Jan 3 13:33:12 UTC 2012


Log message for revision 123918:
  Nuke trailing white space

Changed:
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/EventLog.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/SequenceWrapper.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/Utility.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/Version.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/VersionSupport.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/ZopeRepository.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/ZopeVersion.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/ZopeVersionHistory.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/__init__.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/interfaces.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/nonversioned.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/__init__.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/common.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/testReferenceVersioning.py
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/testVersionControl.py

-=-
Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/EventLog.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/EventLog.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/EventLog.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 from App.class_init import default__class_init__ as InitializeClass
@@ -45,7 +45,7 @@
 
     def __len__(self):
         return len(self._data)
-    
+
     def __nonzero__(self):
         return len(self._data) > 0
 
@@ -54,7 +54,7 @@
 
 class LogEntry(Persistent):
     """A LogEntry contains audit information about a version control
-       operation. Actions that cause audit records to be created include 
+       operation. Actions that cause audit records to be created include
        checkout and checkin. Log entry information can be read (but
        not changed) by restricted code."""
 

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/SequenceWrapper.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/SequenceWrapper.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/SequenceWrapper.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/Utility.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/Utility.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/Utility.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 import os

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/Version.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/Version.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/Version.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 __version__='$Revision: 1.11 $'[11:-2]

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/VersionSupport.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/VersionSupport.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/VersionSupport.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 __version__='$Revision: 1.4 $'[11:-2]

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/ZopeRepository.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/ZopeRepository.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/ZopeRepository.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 from App.class_init import default__class_init__ as InitializeClass

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/ZopeVersion.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/ZopeVersion.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/ZopeVersion.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 from App.class_init import default__class_init__ as InitializeClass

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/ZopeVersionHistory.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/ZopeVersionHistory.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/ZopeVersionHistory.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 from App.class_init import default__class_init__ as InitializeClass
@@ -28,7 +28,7 @@
     RoleManager,
     OFS.SimpleItem.Item,
     ):
-    """The ZopeVersionHistory build on the core VersionHistory class to 
+    """The ZopeVersionHistory build on the core VersionHistory class to
        provide the Zope management interface and other product trappings."""
 
     security = AccessControl.ClassSecurityInfo()

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/__init__.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/__init__.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/__init__.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 import ZopeRepository
@@ -70,6 +70,6 @@
     except AttributeError:
         # Zope trunk
         return
-    setattr(info, filename, 
+    setattr(info, filename,
             ImageFile('www/%s' % filename, globals())
             )

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/interfaces.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/interfaces.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/interfaces.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 __version__='$Revision: 1.7 $'[11:-2]
@@ -17,7 +17,7 @@
 
 
 class IVersionControl(Interface):
-    """The version control interface serves as the main API for version 
+    """The version control interface serves as the main API for version
        control operations. The interface hides most of the details of
        version data storage and retrieval.
 
@@ -28,7 +28,7 @@
 
        The goal of this version of the version control interface is to
        support simple linear versioning with support for labelled versions.
-       Future versions or extensions of this interface will likely support 
+       Future versions or extensions of this interface will likely support
        more advanced version control features such as concurrent lines of
        descent (activities) and collection versioning."""
 
@@ -62,7 +62,7 @@
     def isResourceChanged(object):
         """
         Return true if the state of a resource has changed in a transaction
-        *after* the version bookkeeping was saved. Note that this method is 
+        *after* the version bookkeeping was saved. Note that this method is
         not appropriate for detecting changes within a transaction!
 
         Permission: public
@@ -86,7 +86,7 @@
         After being placed under version control, the resource is logically
         in the 'checked-in' state.
 
-        If no message is passed the 'Initial checkin.' message string is 
+        If no message is passed the 'Initial checkin.' message string is
         written as the message log entry.
 
         Permission: Use version control
@@ -190,7 +190,7 @@
 
          history_id - the id of the version history related to the version
          controlled resource.
-         
+
          version_id - the version id that the version controlled resource
          is based upon.
 

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/nonversioned.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/nonversioned.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/nonversioned.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 """Support for non-versioned data embedded in versioned objects.
 

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/__init__.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/__init__.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/__init__.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 __version__='$Revision: 1.2 $'[11:-2]

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/common.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/common.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/common.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 """ Unit testing utilities
 
@@ -63,7 +63,7 @@
         self.document_nonversion.__non_versionable__ = 1
         addRepository(self.folder1, 'repository')
         self.repository = getattr(self.folder1, 'repository')
-        get_transaction().commit()            
+        get_transaction().commit()
     except:
         self.connection.close()
         raise

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/testReferenceVersioning.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/testReferenceVersioning.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/testReferenceVersioning.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 """Tests of combining ZopeVersionControl with the References product.
 

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/testVersionControl.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/testVersionControl.py	2012-01-03 13:32:45 UTC (rev 123917)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/tests/testVersionControl.py	2012-01-03 13:33:12 UTC (rev 123918)
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Foundation and Contributors.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 """ Test the ZVC machinery
 
@@ -22,7 +22,7 @@
 from common import common_commit
 
 class VersionControlTests(unittest.TestCase):
- 
+
     setUp = common_setUp
     tearDown = common_tearDown
     commit = common_commit
@@ -170,7 +170,7 @@
                               )
 
         info = repository.getVersionInfo(document)
-    
+
         # Check that the last log entry record is what we expect.
         record = repository.getLogEntries(document)[0]
         self.failUnless(record.version_id == info.version_id)
@@ -465,7 +465,7 @@
 
             repository.checkoutResource(document)
             self.commit()
-                
+
             document.manage_edit('activity change %d' % n, '')
             self.commit()
 
@@ -749,7 +749,7 @@
         self.assertEqual(document.__ac_local_roles__, {})
 
     def testNonVersionedAttributeWithAcquisition(self):
-        # Test a non-version-controlled attribute 
+        # Test a non-version-controlled attribute
         # that is acquired does not cause an error
         self.document1.__vc_ignore__ = ('dummy_attr',)
         self.folder1.dummy_attr = 'dummy_attr'



More information about the checkins mailing list