Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3939939
By: danielhs
Conditional expression doesn't seem to work.
Here's the error message that comes up in "problems" view:
Encountered "if" at line 171, column 49. Was expecting one of: "(" ...
")" ... "[" ... "," ... "." ... "+" ... "-" ... "*"
... "/" ... "//" ... "<<" ... ">>" ... "%" ... "^" ...
"|" ... "&" ... ">" ... "<" ... "==" ... "<=" ... ">="
... "<>" ... "!=" ... "or" ... "and" ... "not" ... "is"
... "in" ... "for" ... "**" ...
Here's the actual code:
dbNames = {'table':table,
'idList':(str(tuple(idList)) if len(idList) > 1 else '('
+ str(idList[0]) + ')'),
'idColumn':idColumn}
Daniel
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649
|