#1877 closed defect

SFTP: use new eventual utilities from deferredutil — at Version 3

Reported by: davidsarah Owned by: daira
Priority: minor Milestone: 1.15.0
Component: code-frontend-ftp-sftp Version: 1.9.2
Keywords: sftp deferred eventual cloud-backend leasedb easy cleanup Cc: zooko
Launchpad Bug:

Description (last modified by daira)

The cloud backend + leasedb merge adds several deferred utilities: https://github.com/davidsarah/tahoe-lafs/commit/7671b3e33f0c91e764fb869175ff.

eventually_callback and eventually_errback were modelled on the versions already in sftpd.py, with an error-reporting improvement. eventual_chain is an abstraction of the pattern

source.addCallbacks(eventually_callback(target), eventually_errback(target))

which is used twice in sftpd.py. So we should change sftpd to use these versions, once the cloud backend + leasedb merge has landed.

Change History (3)

comment:1 Changed at 2012-11-24T19:41:51Z by davidsarah

  • Description modified (diff)
  • Status changed from new to assigned

comment:2 Changed at 2012-11-25T16:38:41Z by zooko

  • Cc zooko added

comment:3 Changed at 2013-08-06T23:04:22Z by daira

  • Description modified (diff)
  • Milestone changed from 1.11.0 to 1.12.0
  • Owner changed from davidsarah to daira
  • Status changed from assigned to new
Note: See TracTickets for help on using tickets.