/[Apache-SVN]
ViewVC logotype

Revision 1885600


Jump to revision: Previous Next
Author: futatuki
Date: Sun Jan 17 13:16:59 2021 UTC (3 years, 3 months ago)
Changed paths: 1
Log Message:
Follow up to r1884427, r1885557: mailer.py: Fix mixture of bytes/str.

* tools/hook-scripts/mailer/mailer.py
  (): Rename imported function urllib.parse.quote from urlib_parse_quote to
   _url_quote.
  (remove_leading_slashes): Treat path as a bytes, if it is not None.
  (Commit.__init__): Fix the case that SVN_PROP_REVISION_LOG property is NULL.
  (DiffURLSelections._get_url): Use renamed urllib.parse.quote function and
   'if' expression for readability.
  (generate_content): Set data.log as s str.
  (TextCommitRenderer.render): Treat data.log as a str.


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