Roundup Tracker - Issues

Message4433

Author hemmecke
Recipients hemmecke
Date 2011-09-23.20:37:36
Message-id <1316810257.29.0.162138536332.issue2550728@psf.upfronthosting.co.za>
In-reply-to
Originally posted in PS of
http://sourceforge.net/mailarchive/message.php?msg_id=28130734

Copied here to be self-contained. Fix is attached.
=============================================================
PS: Another thing that I've stumpled upon... I've found that in the log 
of the last command from above.
http://docs.python.org/reference/simple_stmts.html#grammar-token-assert_stmt
Should I put this into the bug tracker?

/home/hemmecke/scratch/roundup-git/local/lib/python2.7/site-packages/roundup/cgi/TAL/DummyEngine.py:82:

SyntaxWarning: assertion is always true, perhaps remove parentheses?
   assert (expression.startswith("$") and expression.endswith("$"),
/home/hemmecke/scratch/roundup-git/local/lib/python2.7/site-packages/roundup/cgi/TAL/DummyEngine.py:103:

SyntaxWarning: assertion is always true, perhaps remove parentheses?
   assert (expression.startswith("$") and expression.endswith("$"),
/home/hemmecke/scratch/roundup-git/local/lib/python2.7/site-packages/roundup/cgi/TAL/DummyEngine.py:165:

SyntaxWarning: assertion is always true, perhaps remove parentheses?
   assert (macroName.startswith("$") and macroName.endswith("$"),


(This is part of "git blame roundup/cgi/TAL/DummyEngine.py")
^43d208f (stefan 2009-02-09 17:47:12 +0000 102)     def evaluate(self, 
expression):
^43d208f (stefan 2009-02-09 17:47:12 +0000 103)         assert 
(expression.startswith("$") and expression.endswith("$"),
^43d208f (stefan 2009-02-09 17:47:12 +0000 104)             expression)
History
Date User Action Args
2011-09-23 20:37:37hemmeckesetrecipients: + hemmecke
2011-09-23 20:37:37hemmeckesetmessageid: <1316810257.29.0.162138536332.issue2550728@psf.upfronthosting.co.za>
2011-09-23 20:37:37hemmeckelinkissue2550728 messages
2011-09-23 20:37:36hemmeckecreate