patch: don't produce a traceback in case of invalid diff content, a warning is enough.
patch: don't produce a traceback in case of invalid diff content, a warning is enough.

Also, skip the patch renderer if it didn't produce any 'diffs'.

pkdevbox/trac,pkdevbox/trac,pkdevbox/trac,pkdevbox/trac