def delrule(self, rsrc):
        "delete a resource generation rule from our database"
        try:
            del self.rules[rsrc]
        except __HOLE__:
            print >>sys.stderr, "Attempt to delete unknown resource rule %s" \
                    % rsrc
        else:
            self.rules.close() # THIS IS THE ONLY WAY I KNOW TO FLUSH...
            self.getrules()
        return True  # USE THIS AS DEFAULT XMLRPC RETURN VALUE
dataset/ETHPy150Open cjlee112/pygr/pygr/coordinator.py/ResourceController.delrule