diff options
author | gian <gian@li82-39> | 2010-02-10 14:28:49 +0100 |
---|---|---|
committer | gian <gian@li82-39> | 2010-02-10 14:28:49 +0100 |
commit | 5b018f3d9a0a7da54a610168469691d9a14bfaec (patch) | |
tree | 0e76bb5ae32d12ffdbf93d10c160004ce7b82d31 /libbe | |
parent | c67a5863826771001f009e1ee90262ccb7a2e172 (diff) | |
download | bugseverywhere-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')
-rw-r--r-- | libbe/command/html.py | 2 |
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'), |