constance

Scripts for generating (an earlier obsolete version of) my personal web site
git clone https://code.djc.id.au/git/constance/
commit 735ffac07e6300ec05dffedaba6f7ea1e609b525
parent 33194f9e20c26ffb4f3ea38b26731a33d1f6a388
Author: Dan Callaghan <djc@djc.id.au>
Date:   Fri,  6 Jun 2008 23:37:48 +1000

trying to highlight a Genshi template might raise IndentationError

committer: Dan Callaghan <djc@djc.id.au>

--HG--
extra : convert_revision : 439e5ca4c07c198c61d20a816133f0817246f916

Diffstat:
Mlib/colubrid/debug.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/colubrid/debug.py b/lib/colubrid/debug.py
@@ -600,7 +600,7 @@ class PythonParser(object):
         text = StringIO(self.raw)
         try:
             tokenize.tokenize(text.readline, self)
-        except tokenize.TokenError:
+        except StandardError:
             pass
 
     def get_html_output(self):