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
23898809
Commit
23898809
authored
Jul 12, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made row data attributes case-insensitive.
parent
3511f947
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
lib/python/Shared/DC/ZRDB/RDB.py
lib/python/Shared/DC/ZRDB/RDB.py
+8
-3
No files found.
lib/python/Shared/DC/ZRDB/RDB.py
View file @
23898809
...
...
@@ -11,11 +11,11 @@
__doc__
=
'''Class for reading RDB files
$Id: RDB.py,v 1.1
6 1998/05/04 22:35:58
jim Exp $'''
__version__
=
'$Revision: 1.1
6
$'
[
11
:
-
2
]
$Id: RDB.py,v 1.1
7 1998/07/12 15:58:57
jim Exp $'''
__version__
=
'$Revision: 1.1
7
$'
[
11
:
-
2
]
import
regex
,
regsub
from
string
import
split
,
strip
,
lower
,
atof
,
atoi
,
atol
,
find
,
join
from
string
import
split
,
strip
,
lower
,
upper
,
atof
,
atoi
,
atol
,
find
,
join
import
DateTime
from
Missing
import
MV
from
array
import
array
...
...
@@ -72,6 +72,8 @@ class DatabaseResults:
if
schema
.
has_key
(
name
):
raise
ValueError
,
'Duplicate column name, %s'
%
name
schema
[
name
]
=
i
schema
[
lower
(
name
)]
=
i
schema
[
upper
(
name
)]
=
i
i
=
i
+
1
self
.
_nv
=
nv
=
len
(
names
)
...
...
@@ -198,6 +200,9 @@ File=DatabaseResults
##############################################################################
#
# $Log: RDB.py,v $
# Revision 1.17 1998/07/12 15:58:57 jim
# Made row data attributes case-insensitive.
#
# Revision 1.16 1998/05/04 22:35:58 jim
# Fixed flaw in (un)escaping logic.
#
...
...
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