Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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)