There is a bug in the last Trevor's revision that prevent to run the be html
command
Here is the trace:
----
li82-39:~/Devel/be-html> be html
Traceback (most recent call last):
File "/usr/bin/be", line 21, in <module>
sys.exit(libbe.ui.command_line.main())
File "/usr/lib/python2.5/site-packages/libbe/ui/command_line.py", line 335,
in main
ret = dispatch(ui, command, args)
File "/usr/lib/python2.5/site-packages/libbe/ui/command_line.py", line 267,
in dispatch
ret = ui.run(command, options, args)
File "/usr/lib/python2.5/site-packages/libbe/command/base.py", line 533, in
run
return command.run(options, args)
File "/usr/lib/python2.5/site-packages/libbe/command/base.py", line 261, in
run
self.status = self._run(**params)
File "/usr/lib/python2.5/site-packages/libbe/command/html.py", line 112, in
_run
html_gen.run(params['output'])
File "/usr/lib/python2.5/site-packages/libbe/command/html.py", line 166, in
run
self._write_bug_file(b, up_link)
File "/usr/lib/python2.5/site-packages/libbe/command/html.py", line 196, in
_write_bug_file
comment_entries = self._generate_bug_comment_entries(bug)
File "/usr/lib/python2.5/site-packages/libbe/command/html.py", line 263, in
_generate_bug_comment_entries
value = self._escape(value)
File "/usr/lib/python2.5/site-packages/libbe/command/html.py", line 371, in
_escape
return xml.sax.saxutils.escape(char)
NameError: global name 'char' is not defined
li82-39:~/Devel/be-html>
-----
The fix is simple: the line
return xml.sax.saxutils.escape(char)
should be
return xml.sax.saxutils.escape(string)
Already fixed in my tree (that is aligned with the Trevor's one).
bye
Gianluca
_______________________________________________
Be-devel mailing list
[email protected]
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel