Update DirectoryNode.set_uri to match interface spec.

This commit is contained in:
Jason R. Coombs 2020-11-29 15:16:45 -05:00
parent 67f0be8431
commit 8b991d3516

View File

@ -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)