haystack / feedme-rss

Automatically exported from code.google.com/p/feedme-rss
0 stars 0 forks source link

Print statement cleanup #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
All print statements should either be deleted or kept with a wrapper that
does two things:
1) Checks to see if the system is being run in debug mode, and only print
if that's the case
2) Convert all unicode to escaped ascii before printing to screen

Original issue reported on code.google.com by marcua@gmail.com on 18 Aug 2009 at 9:29

GoogleCodeExporter commented 9 years ago
Can we wrap stdout in a function that only prints if DEBUG = True?

Original comment by esperte...@gmail.com on 18 Aug 2009 at 11:11

GoogleCodeExporter commented 9 years ago
probably, but we also want to convert all strings to ascii and drop unicode
characters in some wrapper function

Original comment by marcua@gmail.com on 19 Aug 2009 at 12:23