[Checkins] SVN: grok/trunk/src/grok/zcml.py Coding style
Christian Theune
ct at gocept.com
Fri Jul 13 02:17:33 EDT 2007
Log message for revision 77791:
Coding style
Changed:
U grok/trunk/src/grok/zcml.py
-=-
Modified: grok/trunk/src/grok/zcml.py
===================================================================
--- grok/trunk/src/grok/zcml.py 2007-07-13 06:15:17 UTC (rev 77790)
+++ grok/trunk/src/grok/zcml.py 2007-07-13 06:17:32 UTC (rev 77791)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2006 Zope Corporation and Contributors.
+# Copyright (c) 2006-2007 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -11,15 +11,16 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""Grok ZCML-Directives
-"""
+"""Grok ZCML directives."""
+
from zope import interface
import zope.configuration.fields
+
import grok
+
class IGrokDirective(interface.Interface):
- """Grok a package or module.
- """
+ """Grok a package or module."""
package = zope.configuration.fields.GlobalObject(
title=u"Package",
@@ -27,5 +28,6 @@
required=False,
)
+
def grokDirective(_context, package):
grok.grok(package.__name__)
More information about the Checkins
mailing list