equal
deleted
inserted
replaced
23 |
23 |
24 # import Zope3 packages |
24 # import Zope3 packages |
25 from zope.component import createObject, queryMultiAdapter |
25 from zope.component import createObject, queryMultiAdapter |
26 |
26 |
27 # import local packages |
27 # import local packages |
28 from request import getRequest |
28 from ztfy.utils.request import getRequest |
29 |
29 |
30 |
30 |
31 def textStart(text, length, max=0): |
31 def textStart(text, length, max=0): |
32 """Get first words of given text with maximum given length |
32 """Get first words of given text with maximum given length |
33 |
33 |