# Reset any triggers of a job, cron triggers in particular (but not limited) # This is useful for sandboxes to avoid unexpected cron jobs runs def mangle(tree): tag = tree.xpath('//triggers')[0] for t in tag: tag.remove(t) tag.text = None