aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/show.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2008-11-24 22:03:20 -0500
committerW. Trevor King <wking@drexel.edu>2008-11-24 22:03:20 -0500
commit0f3f492bd1c9db89b98f719f7371b183c9c8d838 (patch)
treea868c6b75c252afc935a18fd42983897e9ef7ccf /becommands/show.py
parente6d48051cbce1f74ec3c50fc0ccb72003258889e (diff)
downloadbugseverywhere-0f3f492bd1c9db89b98f719f7371b183c9c8d838.tar.gz
Hack to fixe encoding bug in becommands/show
The situation really calls for a global encoding setting rather than lots of hardcoded "utf-8"s. See bug f7ccd916-b5c7-4890-a2e3-8c8ace17ae3a
Diffstat (limited to 'becommands/show.py')
-rw-r--r--becommands/show.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/becommands/show.py b/becommands/show.py
index abec813..45cd6ad 100644
--- a/becommands/show.py
+++ b/becommands/show.py
@@ -41,7 +41,7 @@ def execute(args):
bd = bugdir.BugDir(from_disk=True)
for bugid in args:
bug = bd.bug_from_shortname(bugid)
- print bug.string(show_comments=True)
+ print bug.string(show_comments=True).encode('utf-8')
def get_parser():
parser = cmdutil.CmdOptionParser("be show BUG-ID [BUG-ID ...]")