fix bug in integrator README
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@2115 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
330c86bb48
commit
d0422a22ab
1 changed files with 3 additions and 3 deletions
|
@ -65,14 +65,14 @@ object, the external collection itself.
|
|||
>>> dcp = DirectoryCollectionProvider()
|
||||
|
||||
>>> sorted(dcp.collect(aColl01))
|
||||
[('programming/BeautifulProgram.pdf', datetime.datetime(2005, 4, 7, 12, 36, 56)),
|
||||
('programming/zope/zope3.txt', datetime.datetime(2007, 4, 12, 15, 16, 13))]
|
||||
[('programming/BeautifulProgram.pdf', datetime.datetime(...)),
|
||||
('programming/zope/zope3.txt', datetime.datetime(...))]
|
||||
|
||||
If we provide a more selective pattern we get only part of the files:
|
||||
|
||||
>>> aColl01.pattern = r'.*\.txt'
|
||||
>>> sorted(dcp.collect(aColl01))
|
||||
[('programming/zope/zope3.txt', datetime.datetime(2007, 4, 12, 15, 16, 13))]
|
||||
[('programming/zope/zope3.txt', datetime.datetime(...))]
|
||||
|
||||
Let's now create the corresponding resource objects.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue