def dump(self): """Helper method for debugging""" from flexget.plugins.output.dump import dump #from flexget.utils.tools import sanitize # entries = sanitize(self.task.entries) # accepted = sanitize(self.task.accepted) # rejected = sanitize(self.task.rejected) print '\n-- ENTRIES: -----------------------------------------------------' # print yaml.safe_dump(entries) dump(self.task.entries, True) print '-- ACCEPTED: ----------------------------------------------------' # print yaml.safe_dump(accepted) dump(self.task.entries, True) print '-- REJECTED: ----------------------------------------------------' # print yaml.safe_dump(rejected) dump(self.task.entries, True)