[Checkins] SVN: megrok.kss/trunk/ Conform to repository policy.

Godefroid Chapelle gotcha at bubblenet.be
Fri May 7 14:49:33 EDT 2010


Log message for revision 112160:
  Conform to repository policy.
  
  At least one of the laggards has made a step forward...
  

Changed:
  A   megrok.kss/trunk/COPYRIGHT.txt
  U   megrok.kss/trunk/LICENSE.txt
  U   megrok.kss/trunk/bootstrap.py
  U   megrok.kss/trunk/src/megrok/kss/components.py
  U   megrok.kss/trunk/src/megrok/kss/interfaces.py
  U   megrok.kss/trunk/src/megrok/kss/meta.py
  U   megrok.kss/trunk/src/megrok/kss/testing.py
  U   megrok.kss/trunk/src/megrok/kss/tests/kss.py
  U   megrok.kss/trunk/src/megrok/kss/tests/test_integration.py

-=-
Added: megrok.kss/trunk/COPYRIGHT.txt
===================================================================
--- megrok.kss/trunk/COPYRIGHT.txt	                        (rev 0)
+++ megrok.kss/trunk/COPYRIGHT.txt	2010-05-07 18:49:33 UTC (rev 112160)
@@ -0,0 +1 @@
+Zope Foundation and Contributors
\ No newline at end of file

Modified: megrok.kss/trunk/LICENSE.txt
===================================================================
--- megrok.kss/trunk/LICENSE.txt	2010-05-07 18:44:06 UTC (rev 112159)
+++ megrok.kss/trunk/LICENSE.txt	2010-05-07 18:49:33 UTC (rev 112160)
@@ -1,54 +1,44 @@
 Zope Public License (ZPL) Version 2.1
--------------------------------------
 
-A copyright notice accompanies this license document that
-identifies the copyright holders.
+A copyright notice accompanies this license document that identifies the
+copyright holders.
 
-This license has been certified as open source. It has also
-been designated as GPL compatible by the Free Software
-Foundation (FSF).
+This license has been certified as open source. It has also been designated as
+GPL compatible by the Free Software Foundation (FSF).
 
-Redistribution and use in source and binary forms, with or
-without modification, are permitted provided that the
-following conditions are met:
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
 
-1. Redistributions in source code must retain the
-   accompanying copyright notice, this list of conditions,
-   and the following disclaimer.
+1. Redistributions in source code must retain the accompanying copyright
+notice, this list of conditions, and the following disclaimer.
 
-2. Redistributions in binary form must reproduce the accompanying
-   copyright notice, this list of conditions, and the
-   following disclaimer in the documentation and/or other
-   materials provided with the distribution.
+2. Redistributions in binary form must reproduce the accompanying copyright
+notice, this list of conditions, and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
 
-3. Names of the copyright holders must not be used to
-   endorse or promote products derived from this software
-   without prior written permission from the copyright
-   holders.
+3. Names of the copyright holders must not be used to endorse or promote
+products derived from this software without prior written permission from the
+copyright holders.
 
-4. The right to distribute this software or to use it for
-   any purpose does not give you the right to use
-   Servicemarks (sm) or Trademarks (tm) of the copyright
-   holders. Use of them is covered by separate agreement
-   with the copyright holders.
+4. The right to distribute this software or to use it for any purpose does not
+give you the right to use Servicemarks (sm) or Trademarks (tm) of the
+copyright
+holders. Use of them is covered by separate agreement with the copyright
+holders.
 
-5. If any files are modified, you must cause the modified
-   files to carry prominent notices stating that you changed
-   the files and the date of any change.
+5. If any files are modified, you must cause the modified files to carry
+prominent notices stating that you changed the files and the date of any
+change.
 
 Disclaimer
 
-  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS''
-  AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
-  NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
-  AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
-  NO EVENT SHALL THE COPYRIGHT HOLDERS BE
-  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
-  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-  DAMAGE.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
+OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Modified: megrok.kss/trunk/bootstrap.py
===================================================================
--- megrok.kss/trunk/bootstrap.py	2010-05-07 18:44:06 UTC (rev 112159)
+++ megrok.kss/trunk/bootstrap.py	2010-05-07 18:49:33 UTC (rev 112160)
@@ -1,6 +1,6 @@
 ##############################################################################
 #
-# Copyright (c) 2006 Zope Corporation and Contributors.
+# Copyright (c) 2006 Zope Foundation and Contributors.
 # All Rights Reserved.
 #
 # This software is subject to the provisions of the Zope Public License,

Modified: megrok.kss/trunk/src/megrok/kss/components.py
===================================================================
--- megrok.kss/trunk/src/megrok/kss/components.py	2010-05-07 18:44:06 UTC (rev 112159)
+++ megrok.kss/trunk/src/megrok/kss/components.py	2010-05-07 18:49:33 UTC (rev 112160)
@@ -1,3 +1,5 @@
+# Copyright (c) 2007-2010 Zope Foundation and Contributors
+# See also LICENSE.txt
 import grok
 from zope.interface import alsoProvides
 from zope.publisher.publish import mapply
@@ -11,6 +13,7 @@
     from megrok.kss.interfaces import (
         IGrokSecurityViewPlaceholder as IGrokSecurityView)
 
+
 class KSS(KSSView, grok.View):
     """This is the default KSS action class that binds to a content object.
 
@@ -25,7 +28,7 @@
     """
     grok.implements(IGrokSecurityView)
     grok.baseclass() # This is a baseclass. Create your own KSS views.
-    
+
     def __init__(self, context, request):
         self.view = context
         super(KSS, self).__init__(context, request)
@@ -42,5 +45,5 @@
     def __call__(self):
         view_name = self.__view_name__
         method = getattr(self, view_name)
-        method_result = mapply(method, (), self.request)
+        mapply(method, (), self.request)
         return self.render()

Modified: megrok.kss/trunk/src/megrok/kss/interfaces.py
===================================================================
--- megrok.kss/trunk/src/megrok/kss/interfaces.py	2010-05-07 18:44:06 UTC (rev 112159)
+++ megrok.kss/trunk/src/megrok/kss/interfaces.py	2010-05-07 18:49:33 UTC (rev 112160)
@@ -1,3 +1,5 @@
+# Copyright (c) 2007-2010 Zope Foundation and Contributors
+# See also LICENSE.txt
 from zope.interface import Interface
 
 class IGrokSecurityViewPlaceholder(Interface):

Modified: megrok.kss/trunk/src/megrok/kss/meta.py
===================================================================
--- megrok.kss/trunk/src/megrok/kss/meta.py	2010-05-07 18:44:06 UTC (rev 112159)
+++ megrok.kss/trunk/src/megrok/kss/meta.py	2010-05-07 18:49:33 UTC (rev 112160)
@@ -1,3 +1,5 @@
+# Copyright (c) 2007-2010 Zope Foundation and Contributors
+# See also LICENSE.txt
 import martian
 
 import grok

Modified: megrok.kss/trunk/src/megrok/kss/testing.py
===================================================================
--- megrok.kss/trunk/src/megrok/kss/testing.py	2010-05-07 18:44:06 UTC (rev 112159)
+++ megrok.kss/trunk/src/megrok/kss/testing.py	2010-05-07 18:49:33 UTC (rev 112160)
@@ -1,3 +1,5 @@
+# Copyright (c) 2007-2010 Zope Foundation and Contributors
+# See also LICENSE.txt
 import os.path
 import megrok.kss
 from zope.app.testing.functional import ZCMLLayer

Modified: megrok.kss/trunk/src/megrok/kss/tests/kss.py
===================================================================
--- megrok.kss/trunk/src/megrok/kss/tests/kss.py	2010-05-07 18:44:06 UTC (rev 112159)
+++ megrok.kss/trunk/src/megrok/kss/tests/kss.py	2010-05-07 18:49:33 UTC (rev 112160)
@@ -1,3 +1,5 @@
+# Copyright (c) 2007-2010 Zope Foundation and Contributors
+# See also LICENSE.txt
 """
   >>> from zope.publisher.browser import TestRequest
   >>> from zope.component import getMultiAdapter
@@ -33,7 +35,7 @@
 
 Now we start the test-browser and try to access our action as
 non-authenticated users::
-  
+
   >>> from zope.testbrowser.testing import Browser
   >>> browser = Browser()
   >>> browser.handleErrors = False

Modified: megrok.kss/trunk/src/megrok/kss/tests/test_integration.py
===================================================================
--- megrok.kss/trunk/src/megrok/kss/tests/test_integration.py	2010-05-07 18:44:06 UTC (rev 112159)
+++ megrok.kss/trunk/src/megrok/kss/tests/test_integration.py	2010-05-07 18:49:33 UTC (rev 112160)
@@ -1,3 +1,5 @@
+# Copyright (c) 2007-2010 Zope Foundation and Contributors
+# See also LICENSE.txt
 import unittest
 from zope.testing import doctest
 from zope.configuration import xmlconfig
@@ -14,6 +16,6 @@
 def test_suite():
     suite = unittest.TestSuite()
     suite.addTest(doctest.DocTestSuite('megrok.kss.tests.kss',
-                                        optionflags=doctest.NORMALIZE_WHITESPACE))
+        optionflags=doctest.NORMALIZE_WHITESPACE))
     suite.layer = IntegrationLayer
     return suite



More information about the checkins mailing list