server/sources/storages.py
changeset 7398 26695dd703d8
parent 7118 e094b3d4eb95
child 7454 1090724f28ed
--- a/server/sources/storages.py	Thu May 19 10:36:26 2011 +0200
+++ b/server/sources/storages.py	Thu May 19 10:53:11 2011 +0200
@@ -199,7 +199,7 @@
         return fspath
 
     def current_fs_path(self, entity, attr):
-        sysource = entity._cw.pool.source('system')
+        sysource = entity._cw.cnxset.source('system')
         cu = sysource.doexec(entity._cw,
                              'SELECT cw_%s FROM cw_%s WHERE cw_eid=%s' % (
                              attr, entity.__regid__, entity.eid))