Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Nicolas Wavrant
ZODB
Commits
b7a37e11
Commit
b7a37e11
authored
Apr 03, 2005
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modifiedInVersion: remove set_trace() added during ZODB sprint.
parent
54c60576
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/ZODB/Connection.py
src/ZODB/Connection.py
+4
-5
No files found.
src/ZODB/Connection.py
View file @
b7a37e11
...
...
@@ -24,8 +24,8 @@ from time import time
from
persistent
import
PickleCache
# interfaces
from
persistent.interfaces
import
IPersistentDataManager
from
ZODB.interfaces
import
IConnection
from
persistent.interfaces
import
IPersistentDataManager
from
ZODB.interfaces
import
IConnection
from
transaction.interfaces
import
IDataManager
from
zope.interface
import
implements
...
...
@@ -563,7 +563,7 @@ class Connection(ExportImport, object):
def
getDebugInfo
(
self
):
"""Returns a tuple with different items for debugging the
connection.
"""
"""
return
self
.
_debug_info
def
setDebugInfo
(
self
,
*
args
):
...
...
@@ -822,13 +822,12 @@ class Connection(ExportImport, object):
def
modifiedInVersion
(
self
,
oid
):
"""Returns the version the object with the given oid was modified in.
If it wasn't modified in a version, the current version of this
If it wasn't modified in a version, the current version of this
connection is returned.
"""
try
:
return
self
.
_db
.
modifiedInVersion
(
oid
)
except
KeyError
:
import
pdb
;
pdb
.
set_trace
()
return
self
.
getVersion
()
def
getVersion
(
self
):
...
...
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