]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit - src/allmydata/test/test_web.py
convert UploadResults to a fat init
authorBrian Warner <warner@lothar.com>
Tue, 22 May 2012 04:14:14 +0000 (21:14 -0700)
committerBrian Warner <warner@lothar.com>
Tue, 22 May 2012 04:14:14 +0000 (21:14 -0700)
commit08f5bc8e2f51a3084c262cd9484d1bbd4acc46ee
tree4d75dce249a3c0cdb6219a1b055e630aab5138c2
parentb71234c538701246d0466f41d63731898e873f5c
convert UploadResults to a fat init

Populate most of UploadResults (except .uri, which is learned later when
using a Helper) in the constructor, instead of allowing creators to
write to attributes later. This will help isolate the fields that we
want to change to use IServers.
src/allmydata/immutable/encode.py
src/allmydata/immutable/upload.py
src/allmydata/test/test_helper.py
src/allmydata/test/test_web.py