comparison mercurial/encoding.py @ 12062:c327bfa5e831

cleanup: remove unused imports
author Brodie Rao <brodie@bitheap.org>
date Fri, 27 Aug 2010 13:32:38 -0400
parents 2be70ca17311
children 614f0d8724ab
comparison
equal deleted inserted replaced
12061:f7557345b199 12062:c327bfa5e831
4 # 4 #
5 # This software may be used and distributed according to the terms of the 5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 7
8 import error 8 import error
9 import sys, unicodedata, locale, os 9 import unicodedata, locale, os
10 10
11 def _getpreferredencoding(): 11 def _getpreferredencoding():
12 ''' 12 '''
13 On darwin, getpreferredencoding ignores the locale environment and 13 On darwin, getpreferredencoding ignores the locale environment and
14 always returns mac-roman. http://bugs.python.org/issue6202 fixes this 14 always returns mac-roman. http://bugs.python.org/issue6202 fixes this