server/sources/storages.py
changeset 9463 d62e13eba033
parent 8900 010a59e12d89
child 9468 39b7a91a3f4c
--- a/server/sources/storages.py	Thu Jun 27 08:52:15 2013 +0200
+++ b/server/sources/storages.py	Wed Jan 22 15:49:32 2014 +0100
@@ -236,7 +236,7 @@
         """return the current fs_path of the attribute, or None is the attr is
         not stored yet.
         """
-        sysource = entity._cw.cnxset.source('system')
+        sysource = entity._cw.repo.system_source
         cu = sysource.doexec(entity._cw,
                              'SELECT cw_%s FROM cw_%s WHERE cw_eid=%s' % (
                              attr, entity.cw_etype, entity.eid))