server/sources/storages.py
changeset 4831 c5aec27c1bf7
parent 4721 8f63691ccb7f
child 4964 d9e8af8a7a42
--- a/server/sources/storages.py	Mon Mar 08 09:51:29 2010 +0100
+++ b/server/sources/storages.py	Mon Mar 08 17:57:29 2010 +0100
@@ -92,9 +92,8 @@
         cu = sysource.doexec(entity._cw,
                              'SELECT cw_%s FROM cw_%s WHERE cw_eid=%s' % (
                                  attr, entity.__regid__, entity.eid))
-        dbmod = sysource.dbapi_module
-        return dbmod.process_value(cu.fetchone()[0], [None, dbmod.BINARY],
-                                   binarywrap=str)
+        return sysource._process_value(cu.fetchone()[0], [None, dbmod.BINARY],
+                                       binarywrap=str)
 
 
 class AddFileOp(Operation):