Update of /cvsroot/happydoc/HappyDoc3/happydoclib/docset/docset_TAL
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv27063/happydoclib/docset/docset_TAL
Modified Files:
hdTALES.py
Log Message:
Fix assignment to None error
Index: hdTALES.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc3/happydoclib/docset/docset_TAL/hdTALES.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** hdTALES.py 26 Jan 2003 19:17:15 -0000 1.1
--- hdTALES.py 5 Dec 2006 12:48:15 -0000 1.2
***************
*** 280,286 ****
return not not self.evaluate(expr)
! def evaluateText(self, expr, None=None):
text = self.evaluate(expr)
! if text is Default or text is None:
return text
return str(text)
--- 280,286 ----
return not not self.evaluate(expr)
! def evaluateText(self, expr, none=None):
text = self.evaluate(expr)
! if text is Default or text is none:
return text
return str(text)
|