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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to