changeset 39215:eaa14dff3226

fastannotate: address pyflakes concerns Two unused imports, one unused local variable assignment. Differential Revision: https://phab.mercurial-scm.org/D4337
author Augie Fackler <augie@google.com>
date Mon, 20 Aug 2018 16:13:17 -0400
parents 8da20fc9fc07
children ec6d5a9d1631
files hgext/fastannotate/__init__.py hgext/fastannotate/protocol.py
diffstat 2 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/fastannotate/__init__.py	Thu Aug 09 15:08:32 2018 -0400
+++ b/hgext/fastannotate/__init__.py	Mon Aug 20 16:13:17 2018 -0400
@@ -117,7 +117,6 @@
     error as hgerror,
     localrepo,
     registrar,
-    util,
 )
 
 from . import (
--- a/hgext/fastannotate/protocol.py	Thu Aug 09 15:08:32 2018 -0400
+++ b/hgext/fastannotate/protocol.py	Mon Aug 20 16:13:17 2018 -0400
@@ -15,7 +15,6 @@
     extensions,
     hg,
     localrepo,
-    scmutil,
     wireprotov1peer,
     wireprotov1server,
 )
@@ -188,8 +187,6 @@
     if threshold <= 0:
         return paths
 
-    master = repo.ui.config('fastannotate', 'mainbranch') or 'default'
-
     result = []
     for path in paths:
         try: