def remove(self):
if self.disco is None:<EOL><INDENT>return<EOL><DEDENT>self.xmlnode.unlinkNode()<EOL>oldns=self.xmlnode.ns()<EOL>ns=self.xmlnode.newNs(oldns.getContent(),None)<EOL>self.xmlnode.replaceNs(oldns,ns)<EOL>common_root.addChild(self.xmlnode())<EOL>self.disco=None<EOL>
Remove `self` from the containing `DiscoInfo` object.