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
41d48448
Commit
41d48448
authored
Apr 29, 1998
by
Jeffrey Shell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed formatting error
parent
62bc6e1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
lib/python/Shared/DC/ZRDB/Connection.py
lib/python/Shared/DC/ZRDB/Connection.py
+6
-3
No files found.
lib/python/Shared/DC/ZRDB/Connection.py
View file @
41d48448
...
...
@@ -10,8 +10,8 @@
__doc__
=
'''Generic Database Connection Support
$Id: Connection.py,v 1.1
0 1998/04/27 18:56:29 jim
Exp $'''
__version__
=
'$Revision: 1.1
0
$'
[
11
:
-
2
]
$Id: Connection.py,v 1.1
1 1998/04/29 18:18:09 jeffrey
Exp $'''
__version__
=
'$Revision: 1.1
1
$'
[
11
:
-
2
]
import
Globals
,
OFS
.
SimpleItem
,
AccessControl
.
Role
,
Persistence
,
Acquisition
,
sys
from
DateTime
import
DateTime
...
...
@@ -132,7 +132,7 @@ class Connection(
raise
'BadRequest'
,
(
'<strong>Invalid connection string:</strong><br>
\
n
'
'<!--
\
n
%s
\
n
%s
\
n
-->
\
n
'
+
(
s
,
t
,
v
)),
tb
%
(
s
,
t
,
v
)),
tb
finally
:
tb
=
None
self
.
_v_connected
=
DateTime
()
...
...
@@ -146,6 +146,9 @@ class Connection(
##############################################################################
#
# $Log: Connection.py,v $
# Revision 1.11 1998/04/29 18:18:09 jeffrey
# fixed formatting error
#
# Revision 1.10 1998/04/27 18:56:29 jim
# Now export an sql_quote function that is used by sqlvar and sqltest
# to quote strings.
...
...
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