aboutsummaryrefslogtreecommitdiffstats
path: root/becommands
diff options
context:
space:
mode:
Diffstat (limited to 'becommands')
-rw-r--r--becommands/diff.py1
-rw-r--r--becommands/show.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/becommands/diff.py b/becommands/diff.py
index 77194ff..862afc5 100644
--- a/becommands/diff.py
+++ b/becommands/diff.py
@@ -54,6 +54,7 @@ def execute(args):
old_bd = bd.duplicate_bugdir(revision)
r,m,a = diff.diff(old_bd, bd)
diff.diff_report((r,m,a), bd)
+ # TODO, string return from diff report
bd.remove_duplicate_bugdir()
def get_parser():
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 ...]")