aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command
diff options
context:
space:
mode:
authorgian <gian@li82-39>2010-02-10 14:28:49 +0100
committergian <gian@li82-39>2010-02-10 14:28:49 +0100
commit5b018f3d9a0a7da54a610168469691d9a14bfaec (patch)
tree0e76bb5ae32d12ffdbf93d10c160004ce7b82d31 /libbe/command
parentc67a5863826771001f009e1ee90262ccb7a2e172 (diff)
downloadbugseverywhere-5b018f3d9a0a7da54a610168469691d9a14bfaec.tar.gz
Fixed a bug in the be html command.
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
Diffstat (limited to 'libbe/command')
-rw-r--r--libbe/command/html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/command/html.py b/libbe/command/html.py
index fbbdf97..b769179 100644
--- 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'),