diff -r 0951727b8815 -r d2c80f5cab53 configurationengine/source/cone/storage/filestorage.py --- a/configurationengine/source/cone/storage/filestorage.py Wed Sep 08 12:20:56 2010 +0300 +++ b/configurationengine/source/cone/storage/filestorage.py Thu Oct 21 16:36:53 2010 +0300 @@ -224,8 +224,9 @@ # when we can just write the file directly into the ZIP if isinstance(storage, zipstorage.ZipStorage): source_abspath = os.path.join(self.rootpath, path) - logging.getLogger("cone").debug("Exporting directly from file to ZIP: %r -> %r" % (source_abspath, path)) - storage.zipfile.write(source_abspath, path) + logging.getLogger("cone").debug("Pre-caching: %r -> %r" % (source_abspath, path)) + storage.cache[path] = source_abspath + storage.modified = True else: wres = storage.open_resource(path,'wb') res = self.open_resource(path,"rb")