mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-23 01:08:53 +00:00
dirnode.py: dirnode.delete which hits UCWE should not fail with NoSuchChildError. Fixes #550.
This commit is contained in:
@ -27,7 +27,7 @@ class Deleter:
|
||||
def modify(self, old_contents, servermap, first_time):
|
||||
children = self.node._unpack_contents(old_contents)
|
||||
if self.name not in children:
|
||||
if self.must_exist:
|
||||
if first_time and self.must_exist:
|
||||
raise NoSuchChildError(self.name)
|
||||
self.old_child = None
|
||||
return None
|
||||
|
Reference in New Issue
Block a user