( )⚙ D4455 py3: handle keyword arguments correctly in hgext/acl.py

This is an archive of the discontinued Mercurial Phabricator instance.

py3: handle keyword arguments correctly in hgext/acl.py
ClosedPublic

Authored by pulkit on Sep 4 2018, 11:17 AM.

Details

Summary

The keys of keyword arguments on python 3 should be str, so when we try to get
some key from them, we must make sure we are using str.

  1. skip-blame because just b'' prefix

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit created this revision.Sep 4 2018, 11:17 AM
This revision was automatically updated to reflect the committed changes.