Mercurial > public > mercurial-scm > hg
comparison mercurial/ui.py @ 3891:6b4127c7d52a
Simplify i18n imports
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 14 Dec 2006 20:25:19 -0600 |
parents | a0b18a8e0460 |
children | e492ab235b4d |
comparison
equal
deleted
inserted
replaced
3890:2eec996f2fb9 | 3891:6b4127c7d52a |
---|---|
3 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com> | 3 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com> |
4 # | 4 # |
5 # This software may be used and distributed according to the terms | 5 # This software may be used and distributed according to the terms |
6 # of the GNU General Public License, incorporated herein by reference. | 6 # of the GNU General Public License, incorporated herein by reference. |
7 | 7 |
8 from i18n import gettext as _ | 8 from i18n import _ |
9 import errno, getpass, os, re, socket, sys, tempfile | 9 import errno, getpass, os, re, socket, sys, tempfile |
10 import ConfigParser, traceback, util | 10 import ConfigParser, traceback, util |
11 | 11 |
12 def dupconfig(orig): | 12 def dupconfig(orig): |
13 new = util.configparser(orig.defaults()) | 13 new = util.configparser(orig.defaults()) |