[Checkins] SVN: zc.recipe.filestorage/trunk/zc/recipe/filestorage/
- license quip
Christian Theune
ct at gocept.com
Thu Jan 4 11:58:41 EST 2007
Log message for revision 71710:
- license quip
- whitespace
Changed:
U zc.recipe.filestorage/trunk/zc/recipe/filestorage/__init__.py
U zc.recipe.filestorage/trunk/zc/recipe/filestorage/tests.py
-=-
Modified: zc.recipe.filestorage/trunk/zc/recipe/filestorage/__init__.py
===================================================================
--- zc.recipe.filestorage/trunk/zc/recipe/filestorage/__init__.py 2007-01-04 16:52:19 UTC (rev 71709)
+++ zc.recipe.filestorage/trunk/zc/recipe/filestorage/__init__.py 2007-01-04 16:58:40 UTC (rev 71710)
@@ -1,5 +1,20 @@
+##############################################################################
+#
+# Copyright (c) 2006 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# 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 logging, os
+
class Recipe:
def __init__(self, buildout, name, options):
@@ -15,7 +30,7 @@
logging.getLogger('zc.recipe.filestorage').error(
"%s does not exixt", path)
self.make_part = False
-
+
options['path'] = path
options['zconfig'] = template % path
Modified: zc.recipe.filestorage/trunk/zc/recipe/filestorage/tests.py
===================================================================
--- zc.recipe.filestorage/trunk/zc/recipe/filestorage/tests.py 2007-01-04 16:52:19 UTC (rev 71709)
+++ zc.recipe.filestorage/trunk/zc/recipe/filestorage/tests.py 2007-01-04 16:58:40 UTC (rev 71710)
@@ -11,10 +11,13 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+
import os, re, unittest
import pkg_resources
+
from zope.testing import doctest, renormalizing
+
def test_suite():
global __test__
req = pkg_resources.Requirement.parse('zc.recipe.filestorage')
@@ -27,4 +30,3 @@
(re.compile('\S+sample-(\w+)'), r'/sample-\1'),
]),
)
-
More information about the Checkins
mailing list