aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2012-01-02 15:43:30 -0500
committerChris Ball <cjb@laptop.org>2012-01-02 15:43:30 -0500
commitf0011cf09d1385f983853b1d11ae5573148139bb (patch)
treedf20d8d032fc4ecf7cd4344c6e4c6262679f90a9 /libbe/command
parentb1527580ece00959b9e9d90e8f0f7dd1bce0342a (diff)
parent6f2d652b2697d7aec6bb48a2bf4d6fff1ef03521 (diff)
downloadbugseverywhere-f0011cf09d1385f983853b1d11ae5573148139bb.tar.gz
Merge http://www.physics.drexel.edu/~wking/code/git/be
Diffstat (limited to 'libbe/command')
-rw-r--r--libbe/command/base.py2
-rw-r--r--libbe/command/html.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/libbe/command/base.py b/libbe/command/base.py
index 311791f..ab98cb1 100644
--- a/libbe/command/base.py
+++ b/libbe/command/base.py
@@ -1,4 +1,5 @@
# Copyright (C) 2009-2011 Chris Ball <cjb@laptop.org>
+# Phil Schumm <philschumm@gmail.com>
# Robert Lehmann <mail@robertlehmann.de>
# W. Trevor King <wking@drexel.edu>
#
@@ -73,6 +74,7 @@ def get_command(command_name):
... except UnknownCommand, e:
... print e
Unknown command 'asdf'
+ (No module named asdf)
>>> repr(get_command('list')).startswith("<module 'libbe.command.list' from ")
True
"""
diff --git a/libbe/command/html.py b/libbe/command/html.py
index 7420ce8..a6bd2a2 100644
--- a/libbe/command/html.py
+++ b/libbe/command/html.py
@@ -149,7 +149,7 @@ class HTMLGen (object):
if encoding != None:
self.encoding = encoding
else:
- self.encoding = libbe.util.encoding.get_filesystem_encoding()
+ self.encoding = libbe.util.encoding.get_text_file_encoding()
self._load_templates(template_dir)
self.min_id_length = min_id_length