Revision 9bcb53c8 snf-pithos-app/pithos/api/util.py

b/snf-pithos-app/pithos/api/util.py
971 971
            hashmap[bi] = request.backend.update_block(hashmap[bi],
972 972
                                                       data[:bl], bo)
973 973
        except IllegalOperationError, e:
974
            raise faults.Forbidden(e)
974
            raise faults.Forbidden(e[0])
975 975
    else:
976 976
        hashmap.append(request.backend.put_block(('\x00' * bo) + data[:bl]))
977 977
    return bl  # Return ammount of data written.

Also available in: Unified diff