comparison mercurial/util.py @ 3893:6b4127c7d52a

Simplify i18n imports
author Matt Mackall <mpm@selenic.com>
date Thu, 14 Dec 2006 20:25:19 -0600
parents abaee83ce0a6
children 1063a631cb8e
comparison
equal deleted inserted replaced
3892:2eec996f2fb9 3893:6b4127c7d52a
10 10
11 This contains helper routines that are independent of the SCM core and hide 11 This contains helper routines that are independent of the SCM core and hide
12 platform-specific details from the core. 12 platform-specific details from the core.
13 """ 13 """
14 14
15 from i18n import gettext as _ 15 from i18n import _
16 import cStringIO, errno, getpass, popen2, re, shutil, sys, tempfile 16 import cStringIO, errno, getpass, popen2, re, shutil, sys, tempfile
17 import os, threading, time, calendar, ConfigParser, locale 17 import os, threading, time, calendar, ConfigParser, locale
18 18
19 _encoding = os.environ.get("HGENCODING") or locale.getpreferredencoding() \ 19 _encoding = os.environ.get("HGENCODING") or locale.getpreferredencoding() \
20 or "ascii" 20 or "ascii"