mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
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:
parent
bb772606f4
commit
7ba26bc3b9
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user