# HG changeset patch # User Matt Harbison # Date 1510636492 18000 # Node ID b8e5fb8d2389bb1885c19d694e7fa98a593266de # Parent 66c5a8cf2868b22ae4a64dd40f3cb6336f80cf50 lfs: quiesce check-module-import warnings Specifically, 'symbol import follows non-symbol import: mercurial.i18n' diff -r 66c5a8cf2868 -r b8e5fb8d2389 hgext/lfs/__init__.py --- a/hgext/lfs/__init__.py Tue Nov 14 00:06:23 2017 -0500 +++ b/hgext/lfs/__init__.py Tue Nov 14 00:14:52 2017 -0500 @@ -28,6 +28,8 @@ from __future__ import absolute_import +from mercurial.i18n import _ + from mercurial import ( bundle2, changegroup, @@ -40,7 +42,6 @@ scmutil, vfs as vfsmod, ) -from mercurial.i18n import _ from . import ( blobstore, diff -r 66c5a8cf2868 -r b8e5fb8d2389 hgext/lfs/blobstore.py --- a/hgext/lfs/blobstore.py Tue Nov 14 00:06:23 2017 -0500 +++ b/hgext/lfs/blobstore.py Tue Nov 14 00:14:52 2017 -0500 @@ -11,13 +11,14 @@ import os import re +from mercurial.i18n import _ + from mercurial import ( error, url as urlmod, util, vfs as vfsmod, ) -from mercurial.i18n import _ # 64 bytes for SHA256 _lfsre = re.compile(r'\A[a-f0-9]{64}\Z') diff -r 66c5a8cf2868 -r b8e5fb8d2389 hgext/lfs/pointer.py --- a/hgext/lfs/pointer.py Tue Nov 14 00:06:23 2017 -0500 +++ b/hgext/lfs/pointer.py Tue Nov 14 00:14:52 2017 -0500 @@ -9,10 +9,11 @@ import re +from mercurial.i18n import _ + from mercurial import ( error, ) -from mercurial.i18n import _ class InvalidPointer(error.RevlogError): pass diff -r 66c5a8cf2868 -r b8e5fb8d2389 hgext/lfs/wrapper.py --- a/hgext/lfs/wrapper.py Tue Nov 14 00:06:23 2017 -0500 +++ b/hgext/lfs/wrapper.py Tue Nov 14 00:14:52 2017 -0500 @@ -9,14 +9,15 @@ import hashlib +from mercurial.i18n import _ +from mercurial.node import bin, nullid, short + from mercurial import ( error, filelog, revlog, util, ) -from mercurial.i18n import _ -from mercurial.node import bin, nullid, short from . import ( blobstore,