author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Thu, 25 Mar 2010 13:49:07 +0100 | |
branch | stable |
changeset 5012 | 9c4ea944ecf9 |
parent 5011 | 57c4c6399b44 |
child 5013 | ad91f93bbb93 |
--- a/server/sources/storages.py Thu Mar 25 13:46:55 2010 +0100 +++ b/server/sources/storages.py Thu Mar 25 13:49:07 2010 +0100 @@ -87,7 +87,8 @@ cu = sysource.doexec(entity._cw, 'SELECT cw_%s FROM cw_%s WHERE cw_eid=%s' % ( attr, entity.__regid__, entity.eid)) - return sysource._process_value(cu.fetchone()[0], [None, dbmod.BINARY], + BINARY = sysource.dbhelper.dbapi_module.BINARY + return sysource._process_value(cu.fetchone()[0], [None, BINARY], binarywrap=str)