mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
py3: make eol use absolute_import
This commit is contained in:
parent
570e0beb47
commit
e8c7dbca1d
13
hgext/eol.py
13
hgext/eol.py
@ -91,9 +91,18 @@ See :hg:`help patterns` for more information about the glob patterns
|
||||
used.
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import os
|
||||
import re
|
||||
from mercurial.i18n import _
|
||||
from mercurial import util, config, extensions, match, error
|
||||
import re, os
|
||||
from mercurial import (
|
||||
config,
|
||||
error,
|
||||
extensions,
|
||||
match,
|
||||
util,
|
||||
)
|
||||
|
||||
# Note for extension authors: ONLY specify testedwith = 'internal' for
|
||||
# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
|
||||
|
@ -3,7 +3,6 @@
|
||||
$ cd "$TESTDIR"/..
|
||||
|
||||
$ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
|
||||
hgext/eol.py not using absolute_import
|
||||
hgext/extdiff.py not using absolute_import
|
||||
hgext/factotum.py not using absolute_import
|
||||
hgext/fetch.py not using absolute_import
|
||||
|
Loading…
Reference in New Issue
Block a user