mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-05 01:49:15 +00:00
Update DirectoryNode.set_uri to match interface spec.
This commit is contained in:
parent
67f0be8431
commit
8b991d3516
@ -554,7 +554,7 @@ class DirectoryNode(object):
|
||||
d = self.get_child_and_metadata(childnamex)
|
||||
return d
|
||||
|
||||
def set_uri(self, namex, writecap, readcap, metadata=None, overwrite=True):
|
||||
def set_uri(self, namex, writecap, readcap=None, metadata=None, overwrite=True):
|
||||
precondition(isinstance(writecap, (str,type(None))), writecap)
|
||||
precondition(isinstance(readcap, (str,type(None))), readcap)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user