Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
478a3492
Commit
478a3492
authored
Feb 23, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug that broke acquisition by records when accessed with
getitem.
parent
e52e68f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
lib/python/Shared/DC/ZRDB/RDB.py
lib/python/Shared/DC/ZRDB/RDB.py
+10
-4
No files found.
lib/python/Shared/DC/ZRDB/RDB.py
View file @
478a3492
...
@@ -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.1
4 1998/02/06 23:24:42
jim Exp $'''
$Id: RDB.py,v 1.1
5 1998/02/23 17:47:13
jim Exp $'''
__version__
=
'$Revision: 1.1
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
5
$'
[
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 ***
#
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment