[Zodb-checkins] CVS: Packages/ZConfig - loader.py:1.1.2.20

Fred L. Drake, Jr. fred@zope.com
Sat, 21 Dec 2002 02:57:16 -0500


Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv7704

Modified Files:
      Tag: zconfig-schema-devel-branch
	loader.py 
Log Message:
Add a comment about where additional functionality needs to be
incorporated.


=== Packages/ZConfig/loader.py 1.1.2.19 => 1.1.2.20 ===
--- Packages/ZConfig/loader.py:1.1.2.19	Fri Dec 20 16:18:07 2002
+++ Packages/ZConfig/loader.py	Sat Dec 21 02:57:15 2002
@@ -65,6 +65,10 @@
             "BaseLoader.loadResource() must be overridden by a subclass")
 
     def openResource(self, url):
+        # XXX This should be replaced to use a local cache for remote
+        # resources.  The policy needs to support both re-retrieve on
+        # change and provide the cached resource when the remote
+        # resource is not accessible.
         file = urllib2.urlopen(url)
         return self.createResource(file, url)