[Checkins] [zopefoundation/Zope] fecd92: Fix str/bytes confusion on add DTMLDocument/DTMLMe...
noreply at github.com
Tue Nov 20 12:41:35 CET 2018
Author: Robert Buchholz <rbu at goodpoint.de>
Date: 2018-11-20 (Tue, 20 Nov 2018)
Fix str/bytes confusion on add DTMLDocument/DTMLMethod
DTML documents need to be stored as native strings ("str" in both Py2 and Py3),
which was implemented in #265 for the manage_upload case (create a document,
then upload the content).
This commit introduces the conditional type conversion for the "add" case
as well (create a document with initial uploaded content).
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the checkins