From: SourceForge.net <no...@so...> - 2007-12-19 14:25:58
|
Bugs item #1854028, was opened at 2007-12-19 15:26 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=1854028&group_id=16528 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: PgSQL Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Luca Falavigna (dktrkranz) Assigned to: Nobody/Anonymous (nobody) Summary: typo in pyPgSQL/PgSQL.py Initial Comment: Typo in pyPgSQL/PgSQL.py, line 999, causes this error: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/pyPgSQL/test.py", line 5, in <module> res = cur.fetchall() File "/usr/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 3247, in fetchall _list.append(self.__fetchOneRow()) File "/usr/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 2814, in __fetchOneRow _r.getvalue(self._idx_, _i))) File "/usr/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 890, in typecast return self.handleArray(colinfo, _list) File "/usr/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 999, in handleArray if _fvt != PG_INTERVAL: NameError: global name '_fvt' is not defined Replacing _fvt with _ftv fixes this. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=1854028&group_id=16528 |