/[Apache-SVN]
ViewVC logotype

Revision 1885784


Jump to revision: Previous Next
Author: stsp
Date: Fri Jan 22 12:04:31 2021 UTC (3 years, 2 months ago)
Changed paths: 1
Log Message:
Fix byte vs. string confusion in mailer.py DiffGenerator class.

Fixes "AttributeError: 'str' object has no attribute 'decode'"
which could be triggered by the mailer.py test suite.

* tools/hook-scripts/mailer/mailer.py
  (DiffGenerator): Consumers of this class expect the base_path to
   be a byte string. Store the byte string instead of a local copy
   which has already been converted to a string object.


Changed paths

Path Details
Directorysubversion/trunk/tools/hook-scripts/mailer/mailer.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26