From d0422a22ab9b1906f6d8eb12d9e9789e78e1d7ce Mon Sep 17 00:00:00 2001 From: helmutm Date: Wed, 17 Oct 2007 13:39:23 +0000 Subject: [PATCH] fix bug in integrator README git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@2115 fd906abe-77d9-0310-91a1-e0d9ade77398 --- integrator/README.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integrator/README.txt b/integrator/README.txt index c52f6a1..9fef34e 100644 --- a/integrator/README.txt +++ b/integrator/README.txt @@ -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.