mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
upload: add a think-of-the-compatibility note to UploadResults
This commit is contained in:
parent
a5ab6c060d
commit
a9a3b509df
@ -46,6 +46,11 @@ class UploadResults(Copyable, RemoteCopy):
|
||||
typeToCopy = "allmydata.upload.UploadResults.tahoe.allmydata.com"
|
||||
copytype = typeToCopy
|
||||
|
||||
# also, think twice about changing the shape of any existing attribute,
|
||||
# because instances of this class are sent from the helper to its client,
|
||||
# so changing this may break compatibility. Consider adding new fields
|
||||
# instead of modifying existing ones.
|
||||
|
||||
def __init__(self):
|
||||
self.timings = {} # dict of name to number of seconds
|
||||
self.sharemap = dictutil.DictOfSets() # {shnum: set(serverid)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user