예제 #1
0
파일: __init__.py 프로젝트: DSchau/Flexget
 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)
예제 #2
0
파일: __init__.py 프로젝트: sean797/Flexget
 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)