Message4433
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) |
|
Date |
User |
Action |
Args |
2011-09-23 20:37:37 | hemmecke | set | recipients:
+ hemmecke |
2011-09-23 20:37:37 | hemmecke | set | messageid: <1316810257.29.0.162138536332.issue2550728@psf.upfronthosting.co.za> |
2011-09-23 20:37:37 | hemmecke | link | issue2550728 messages |
2011-09-23 20:37:36 | hemmecke | create | |
|