Am 31.12.2016 um 16:01 schrieb Justin Pryzby: > Traceback (most recent call last): > File "/tmp/tpy", line 11, in <module> > print db.query_formatted( > 'SELECT * FROM sites WHERE site_geo IS NOT NULL').getresult()[0] > File "/usr/lib64/python2.6/site-packages/pg.py", line 1750, > in query_formatted > command, parameters, types, inline)) > File "/usr/lib64/python2.6/site-packages/pg.py", line 650, > in format_query > TypeError: The values must be passed as tuple, list or dict
Looks like you're testing against an older version. The line numbers in your pg.py match with v5.0.2, not the current trunk.
-- Christoph _______________________________________________ PyGreSQL mailing list [email protected] https://mail.vex.net/mailman/listinfo.cgi/pygresql
