diff options
author | W. Trevor King <wking@drexel.edu> | 2010-01-21 09:17:40 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-01-21 09:17:40 -0500 |
commit | a7134ad51224e33df79d4589b677ad0718387f48 (patch) | |
tree | 234673618f378d3e379885fac5e897319cb4d1e2 /libbe/command/list.py | |
parent | be2de86f947b7bf2bb44f415df0a6f685633a64b (diff) | |
download | bugseverywhere-a7134ad51224e33df79d4589b677ad0718387f48.tar.gz |
Converted `be list --xml` to <be-xml> format.
Fixed up be-xml-to-mbox following the recent libbe restructuring.
Moved stdout manipulation in be-mail-to-xml into the if __name__ ==
'__main__' block, in case some other module wants to recycle some of
its functions/methods.
Diffstat (limited to 'libbe/command/list.py')
-rw-r--r-- | libbe/command/list.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/command/list.py b/libbe/command/list.py index c1bcba0..44be71b 100644 --- a/libbe/command/list.py +++ b/libbe/command/list.py @@ -228,7 +228,7 @@ class List (libbe.command.Command): if xml == True: print >> self.stdout, \ '<?xml version="1.0" encoding="%s" ?>' % self.stdout.encoding - print >> self.stdout, '<bugs>' + print >> self.stdout, '<be-xml>' if len(bugs) > 0: for bug in bugs: if xml == True: @@ -236,7 +236,7 @@ class List (libbe.command.Command): else: print >> self.stdout, bug.string(shortlist=True) if xml == True: - print >> self.stdout, '</bugs>' + print >> self.stdout, '</be-xml>' def _long_help(self): return """ |