web-status: client methods like list_all_uploads() return Upload instances,
authorBrian Warner <warner@allmydata.com>
Thu, 27 Mar 2008 01:20:07 +0000 (18:20 -0700)
committerBrian Warner <warner@allmydata.com>
Thu, 27 Mar 2008 01:20:07 +0000 (18:20 -0700)
commit04b690ac9ec239e38f749730b8755b826529d601
treee0153b2733d3b9a913702e7d21525c5ae8a73950
parentccce37bb4a6e91da91f060a1d45518eac857c2c1
web-status: client methods like list_all_uploads() return Upload instances,
not status instances. Fix this. The symptom was that following a link like
'up-123' that referred to an old operation (no longer in memory) while an
upload was active would get an ugly traceback instead of a "no such resource"
message.
src/allmydata/web/status.py