lint-checks: remove unused imports and unnecessary space

Summary:
The tests `test-check-pyflakes-hg.t` and `test-check-code-hg.t` are
currently failing because of this.

Test Plan: Ran all the tests.

Reviewers: #fbhgext, quark

Reviewed By: #fbhgext, quark

Differential Revision: https://phab.mercurial-scm.org/D1489
This commit is contained in:
Saurabh Singh 2017-11-21 18:26:20 -08:00
parent bb772606f4
commit 7ba26bc3b9
2 changed files with 2 additions and 3 deletions

View File

@ -21,12 +21,11 @@ from mercurial import (
merge,
phases,
revlog,
scmutil,
tags,
util,
)
from mercurial.extensions import wrapfunction
from mercurial.node import bin, nullid, nullrev
from mercurial.node import bin
import errno
import os

View File

@ -119,7 +119,7 @@ def uisetup(ui):
@util.propertycache
def _progbar(self):
if self.config('progress', 'statefile'):
return progbarwithfile(self)
return progbarwithfile(self)
else:
return super(progressfileui, self)._progbar
ui.__class__ = progressfileui