[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

Anthony Tuininga report at bugs.python.org
Mon Mar 12 18:52:24 CET 2012


Anthony Tuininga <anthony.tuininga at gmail.com> added the comment:

All, I have trimmed this patch down to the bare minimum required to solve this problem. Please review this as I would dearly love to have this committed. The error received without this patch is

MSIError: unknown error 103

This occurs when there are no more records to fetch from the view. The patch simply returns None when there are no more records to fetch -- similar to what is done by the DB API.

----------
Added file: http://bugs.python.org/file24795/_msi_fetch.patch.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1102>
_______________________________________


More information about the Python-bugs-list mailing list