mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
convert: fix "stdlib import follows local import" problem in transport
Before this patch, import-checker reports error below for importing subversion python binding libraries. stdlib import "svn.*" follows local import: mercurial
This commit is contained in:
parent
8afa478806
commit
08147e9705
@ -18,10 +18,6 @@
|
||||
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
from __future__ import absolute_import
|
||||
|
||||
from mercurial import (
|
||||
util,
|
||||
)
|
||||
|
||||
import svn.client
|
||||
import svn.core
|
||||
import svn.ra
|
||||
@ -29,6 +25,10 @@ import svn.ra
|
||||
Pool = svn.core.Pool
|
||||
SubversionException = svn.core.SubversionException
|
||||
|
||||
from mercurial import (
|
||||
util,
|
||||
)
|
||||
|
||||
# Some older versions of the Python bindings need to be
|
||||
# explicitly initialized. But what we want to do probably
|
||||
# won't work worth a darn against those libraries anyway!
|
||||
|
Loading…
Reference in New Issue
Block a user