##// END OF EJS Templates
histedit: conditionalize the imports of 'fcntl' and 'termios'...
Matt Harbison -
r40688:29108087 default
parent child Browse files
Show More
@@ -183,11 +183,17 b' unexpectedly::'
183
183
184 from __future__ import absolute_import
184 from __future__ import absolute_import
185
185
186 import fcntl
186 # chistedit dependencies that are not available everywhere
187 try:
188 import fcntl
189 import termios
190 except ImportError:
191 fcntl = None
192 termios = None
193
187 import functools
194 import functools
188 import os
195 import os
189 import struct
196 import struct
190 import termios
191
197
192 from mercurial.i18n import _
198 from mercurial.i18n import _
193 from mercurial import (
199 from mercurial import (
General Comments 0
You need to be logged in to leave comments. Login now