Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
persistent
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
persistent
Commits
30ab45e9
Commit
30ab45e9
authored
May 14, 2012
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Coverage.
parent
888c82d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
persistent/__init__.py
persistent/__init__.py
+4
-4
No files found.
persistent/__init__.py
View file @
30ab45e9
...
...
@@ -22,7 +22,7 @@ try:
from
cPersistence
import
CHANGED
from
cPersistence
import
STICKY
from
cPersistence
import
simple_new
except
ImportError
:
#
XXX need pure-Python fallback
except
ImportError
:
#
pragma NO COVER
_HAVE_CPERSISTENCE
=
False
from
pyPersistence
import
Persistent
from
pyPersistence
import
GHOST
...
...
@@ -36,12 +36,12 @@ else:
try
:
from
cPickleCache
import
PickleCache
except
ImportError
:
except
ImportError
:
#pragma NO COVER
from
picklecache
import
PickleCache
try
:
import
TimeStamp
except
ImportError
:
except
ImportError
:
#pragma NO COVER
import
timestamp
as
TimeStamp
import
sys
sys
.
modules
[
'persistent.TimeStamp'
]
=
sys
.
modules
[
'persistent.timestamp'
]
...
...
@@ -51,7 +51,7 @@ if _HAVE_CPERSISTENCE:
# is available. XXX that the pyPersistent version already does this?
try
:
from
zope.interface
import
classImplements
except
ImportError
:
except
ImportError
:
#pragma NO COVER
pass
else
:
from
persistent.interfaces
import
IPersistent
...
...
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