[tahoe-lafs-trac-stream] [tahoe-lafs] #2047: refactor *Source classes in tahoe-cp.py to have a basename() method rather than passing around (name, source) pairs
tahoe-lafs
trac at tahoe-lafs.org
Wed Aug 7 00:48:50 UTC 2013
#2047: refactor *Source classes in tahoe-cp.py to have a basename() method rather
than passing around (name, source) pairs
-------------------------------+---------------------------
Reporter: daira | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: code-frontend-cli | Version: 1.10.0
Keywords: cleanup tahoe-cp | Launchpad Bug:
-------------------------------+---------------------------
Much of the code in [source:src/allmydata/scripts/tahoe-cp.py] passes
around `(name, source)` pairs, where the name is the basename (i.e. last
path component) of the source object. The source object should instead
have a `basename()` method. (It is called that in Twisted's `FilePath`
API.)
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2047>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list