diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-12 01:43:20 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-12 01:43:20 -0500 |
commit | f8a498f76d7bbcb42cf7bbc80164d98bfe57f8ab (patch) | |
tree | 00e4fa4923684f40763222f11b3f0fd8b13208d4 /libbe/storage/util | |
parent | 8b4ad37815cbef1e06532179f9ca098588d9cb44 (diff) | |
download | bugseverywhere-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.py | 5 |
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""" |