aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/util
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-12 01:43:20 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-12 01:43:20 -0500
commitf8a498f76d7bbcb42cf7bbc80164d98bfe57f8ab (patch)
tree00e4fa4923684f40763222f11b3f0fd8b13208d4 /libbe/storage/util
parent8b4ad37815cbef1e06532179f9ca098588d9cb44 (diff)
downloadbugseverywhere-f8a498f76d7bbcb42cf7bbc80164d98bfe57f8ab.tar.gz
Added libbe.ui.util.user for managing user ids.
Diffstat (limited to 'libbe/storage/util')
-rw-r--r--libbe/storage/util/config.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/libbe/storage/util/config.py b/libbe/storage/util/config.py
index ccd236b..a0fea0c 100644
--- a/libbe/storage/util/config.py
+++ b/libbe/storage/util/config.py
@@ -22,16 +22,15 @@ Create, save, and load the per-user config file at path().
import ConfigParser
import codecs
-import locale
import os.path
-import sys
import libbe
+import libbe.util.encoding
if libbe.TESTING == True:
import doctest
-default_encoding = sys.getfilesystemencoding() or locale.getpreferredencoding()
+default_encoding = libbe.util.encoding.get_filesystem_encoding()
def path():
"""Return the path to the per-user config file"""