# HG changeset patch # User Augie Fackler # Date 2019-11-06 20:24:44 # Node ID f5fcf7123a92904f92755518dab3fe21ddc22944 # Parent 667f56d73ceb6750367db134e919e56ef8106285 wireprototypes: disable pytype where it's just confused By inspection validnames is always a Set[bytes] here, but for some reason pytype is convinced it's a bytes. Let's disable the error for now. Differential Revision: https://phab.mercurial-scm.org/D7281 diff --git a/mercurial/wireprototypes.py b/mercurial/wireprototypes.py --- a/mercurial/wireprototypes.py +++ b/mercurial/wireprototypes.py @@ -404,7 +404,7 @@ def supportedcompengines(ui, role): ) % config, hint=_(b'usable compression engines: %s') - % b', '.sorted(validnames), + % b', '.sorted(validnames), # pytype: disable=attribute-error ) return compengines