branch | stable |
changeset 4721 | 8f63691ccb7f |
parent 4512 | e7ac20bf3629 |
child 4831 | c5aec27c1bf7 |
--- a/server/sources/storages.py Fri Feb 26 13:21:13 2010 +0100 +++ b/server/sources/storages.py Fri Feb 26 13:24:47 2010 +0100 @@ -62,7 +62,7 @@ else: fpath = self.new_fs_path(entity, attr) # bytes storage used to store file's path - entity[attr]= Binary(fpath) + entity[attr] = Binary(fpath) file(fpath, 'w').write(value.getvalue()) AddFileOp(entity._cw, filepath=fpath) # else entity[attr] is expected to be an already existant file path