Commit a997ffee authored by Sebastien Robin's avatar Sebastien Robin

set nicely a comment

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10190 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4338c899
...@@ -100,9 +100,11 @@ class Domain(Predicate, MetaNode, MetaResource): ...@@ -100,9 +100,11 @@ class Domain(Predicate, MetaNode, MetaResource):
# How to define a generated subdomain # How to define a generated subdomain
security.declareProtected( Permissions.AccessContentsInformation, 'getDomainGeneratorList' ) security.declareProtected( Permissions.AccessContentsInformation, 'getDomainGeneratorList' )
def getDomainGeneratorList(self, depth=0): def getDomainGeneratorList(self, depth=0):
# We call a script which builds for us a list DomainGenerator instances """
# We need a way to know how deep we are in the domain generation We call a script which builds for us a list DomainGenerator instances
# to prevent infinite recursion XXX not implemented We need a way to know how deep we are in the domain generation
to prevent infinite recursion XXX not implemented
"""
from Products.ERP5Type.Document import newTempDomainGenerator from Products.ERP5Type.Document import newTempDomainGenerator
klass = tmp_domain_generator = newTempDomainGenerator(self, 'new_generator') klass = tmp_domain_generator = newTempDomainGenerator(self, 'new_generator')
script = self.getDomainGeneratorMethodId('') script = self.getDomainGeneratorMethodId('')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment