Patchwork D7281: wireprototypes: disable pytype where it's just confused

login
register
mail settings
Submitter phabricator
Date Nov. 7, 2019, 8:34 a.m.
Message ID <f3b560aa2e830de89eccad73538f77fc@localhost.localdomain>
Download mbox | patch
Permalink /patch/42877/
State Not Applicable
Headers show

Comments

phabricator - Nov. 7, 2019, 8:34 a.m.
Closed by commit rHGf5fcf7123a92: wireprototypes: disable pytype where it&#039;s just confused (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7281?vs=17651&id=17696

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7281/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7281

AFFECTED FILES
  mercurial/wireprototypes.py

CHANGE DETAILS




To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

diff --git a/mercurial/wireprototypes.py b/mercurial/wireprototypes.py
--- a/mercurial/wireprototypes.py
+++ b/mercurial/wireprototypes.py
@@ -404,7 +404,7 @@ 
             )
             % config,
             hint=_(b'usable compression engines: %s')
-            % b', '.sorted(validnames),
+            % b', '.sorted(validnames),  # pytype: disable=attribute-error
         )
 
     return compengines