mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
crecord: fix mixed imports warning
This commit is contained in:
parent
fbfbea7b97
commit
65f90257b1
@ -20,7 +20,8 @@ locale.setlocale(locale.LC_ALL, '')
|
||||
|
||||
# os.name is one of: 'posix', 'nt', 'dos', 'os2', 'mac', or 'ce'
|
||||
if os.name == 'posix':
|
||||
import curses, fcntl, termios
|
||||
import curses
|
||||
import fcntl, termios
|
||||
else:
|
||||
# I have no idea if wcurses works with crecord...
|
||||
try:
|
||||
|
@ -21,9 +21,6 @@ hidden by deduplication algorithm in the cycle detector, so fixing
|
||||
these may expose other cycles.
|
||||
|
||||
$ hg locate 'mercurial/**.py' | sed 's-\\-/-g' | xargs python "$import_checker"
|
||||
mercurial/crecord.py mixed imports
|
||||
stdlib: fcntl, termios
|
||||
relative: curses
|
||||
mercurial/dispatch.py mixed imports
|
||||
stdlib: commands
|
||||
relative: error, extensions, fancyopts, hg, hook, util
|
||||
|
Loading…
Reference in New Issue
Block a user