# HG changeset patch # User Augie Fackler # Date 2018-08-20 20:13:17 # Node ID eaa14dff32265d4c6fdc21eb18c955f3a8daf017 # Parent 8da20fc9fc07109c434dc20ac9f1284b6c7877f3 fastannotate: address pyflakes concerns Two unused imports, one unused local variable assignment. Differential Revision: https://phab.mercurial-scm.org/D4337 diff --git a/hgext/fastannotate/__init__.py b/hgext/fastannotate/__init__.py --- a/hgext/fastannotate/__init__.py +++ b/hgext/fastannotate/__init__.py @@ -117,7 +117,6 @@ from mercurial import ( error as hgerror, localrepo, registrar, - util, ) from . import ( diff --git a/hgext/fastannotate/protocol.py b/hgext/fastannotate/protocol.py --- a/hgext/fastannotate/protocol.py +++ b/hgext/fastannotate/protocol.py @@ -15,7 +15,6 @@ from mercurial import ( extensions, hg, localrepo, - scmutil, wireprotov1peer, wireprotov1server, ) @@ -188,8 +187,6 @@ def _filterfetchpaths(repo, paths): if threshold <= 0: return paths - master = repo.ui.config('fastannotate', 'mainbranch') or 'default' - result = [] for path in paths: try: