projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c67a586
)
Fixed a bug in the be html command.
author
gian
<gian@li82-39>
Wed, 10 Feb 2010 13:28:49 +0000
(14:28 +0100)
committer
gian
<gian@li82-39>
Wed, 10 Feb 2010 13:28:49 +0000
(14:28 +0100)
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
libbe/command/html.py
patch
|
blob
|
history
diff --git
a/libbe/command/html.py
b/libbe/command/html.py
index fbbdf978c332a32b17782ffe018c1c24ac503ab6..b769179b15d3609dda214bd402a55cea72f46fe7 100644
(file)
--- a/
libbe/command/html.py
+++ b/
libbe/command/html.py
@@
-368,7
+368,7
@@
class HTMLGen (object):
def _escape(self, string):
if string == None:
return ''
- return xml.sax.saxutils.escape(
char
)
+ return xml.sax.saxutils.escape(
string
)
def _load_user_templates(self):
for filename,attr in [('style.css','css_file'),