fastannotate: address pyflakes concerns
authorAugie Fackler <augie@google.com>
Mon, 20 Aug 2018 16:13:17 -0400
changeset 39215 eaa14dff3226
parent 39214 8da20fc9fc07
child 39216 ec6d5a9d1631
fastannotate: address pyflakes concerns Two unused imports, one unused local variable assignment. Differential Revision: https://phab.mercurial-scm.org/D4337
hgext/fastannotate/__init__.py
hgext/fastannotate/protocol.py
--- 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: