Commit 478a3492 authored by Jim Fulton's avatar Jim Fulton

Fixed bug that broke acquisition by records when accessed with

getitem.
parent e52e68f4
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
__doc__='''Class for reading RDB files __doc__='''Class for reading RDB files
$Id: RDB.py,v 1.14 1998/02/06 23:24:42 jim Exp $''' $Id: RDB.py,v 1.15 1998/02/23 17:47:13 jim Exp $'''
__version__='$Revision: 1.14 $'[11:-2] __version__='$Revision: 1.15 $'[11:-2]
import regex, regsub import regex, regsub
from string import split, strip, lower, atof, atoi, atol, find, join from string import split, strip, lower, atof, atoi, atol, find, join
...@@ -186,16 +186,22 @@ class DatabaseResults: ...@@ -186,16 +186,22 @@ class DatabaseResults:
else: v=MV else: v=MV
fields[i]=v fields[i]=v
fields=self._class(fields, self._parent) parent=self._parent
fields=self._class(fields, parent)
self._index=index self._index=index
self._row=fields self._row=fields
return fields if parent is None: return fields
return fields.__of__(parent)
File=DatabaseResults File=DatabaseResults
############################################################################## ##############################################################################
# #
# $Log: RDB.py,v $ # $Log: RDB.py,v $
# Revision 1.15 1998/02/23 17:47:13 jim
# Fixed bug that broke acquisition by records when accessed with
# getitem.
#
# Revision 1.14 1998/02/06 23:24:42 jim # Revision 1.14 1998/02/06 23:24:42 jim
# *** empty log message *** # *** empty log message ***
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment