This is an archive of the discontinued Mercurial Phabricator instance.

localrepo: use str for lookup in vars()
ClosedPublic

Authored by indygreg on Nov 5 2019, 12:18 AM.

Details

Summary

vars() returns a dict of str. So always use a native str for
the key lookup.

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.