Let Uploader retain History instead of passing it into upload(). Fixes #1079.
authorBrian Warner <warner@lothar.com>
Mon, 29 Aug 2011 06:32:46 +0000 (23:32 -0700)
committerBrian Warner <warner@lothar.com>
Mon, 29 Aug 2011 06:32:46 +0000 (23:32 -0700)
commitfd676a5846fce5da0eb5113a4329405c4690eb90
tree96ea3c69b2ff82de0b2c82648e29e83b8d9d8027
parent9756146d616735522f38e3cdc8b62e234820d467
Let Uploader retain History instead of passing it into upload(). Fixes #1079.

This consistently records all immutable uploads in the Recent Uploads And
Downloads page, regardless of code path. Previously, certain webapi upload
operations (like PUT /uri/$DIRCAP/newchildname) failed to pass the History
object and were left out.
src/allmydata/client.py
src/allmydata/immutable/upload.py
src/allmydata/nodemaker.py
src/allmydata/test/test_web.py