kanzure/pdfparanoia — pull request #21 by zooko (2013-02-13 20:11:28+00:00)
Title: add a "--verbose" option that writes to stderr if it finds anything to o...

...mit

Also cleaned up some flakes noticed by pyflakes, and make the scrub() be @classmethod instead of @staticmethod so I could use the class for the verbose output.

caveats:

* there are no unit tests of this patch
* now your logs of your stderr have potentially sensitive information in them
* the implementation of arg parsing is very low-tech; (a *good* way to do arg parsing is the "argparse" module)