def deleted(self, src, path):
if self.parents[path] is not None:<EOL><INDENT>for parent in self.parents[path]:<EOL><INDENT>self.children[parent].remove(path)<EOL>if not self.children[parent]:<EOL><INDENT>del self.children[parent]<EOL><DEDENT><DEDENT><DEDENT>del self.parents[path]<EOL>
Update the reference tree when a handled file is deleted.