HomePhabricator
Diffusion Scap 1a402b445474

lockfile: python2/3 compat

Authored by thcipriani on Jan 24 2019, 1:33 PM.

Description

lockfile: python2/3 compat

Summary:
Ensure that filenames are binary, files are read to and from as binary,
and that, prior to writing to or from files, they internal messages are
unicode.

When writing a filename to stdout, it should be unicode.

This commit is based on D1136.

Reviewers: mmodell, Release-Engineering-Team, ATIFAND

Reviewed By: mmodell, Release-Engineering-Team, ATIFAND

Tags: Release-Engineering-Team

Differential Revision: https://phabricator.wikimedia.org/D1137

Details

Committed
thciprianiJan 24 2019, 1:37 PM
Reviewer
Release-Engineering-Team
Differential Revision
D1137: lockfile: python2/3 compat
Parents
rMSCA57d6fadd7b92: scap say: python2/3 compatible
Branches
Unknown
Tags
Unknown
Reverted By
rMSCA875a4c432501: Revert "lockfile: python2/3 compat"
ChangeId
None
Build Status
Buildable 3197
Build 5347: ci-jessieJenkins