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
c0e1fe0f
Commit
c0e1fe0f
authored
Jul 03, 2011
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove strange persistent Expired class
parent
04332818
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
src/OFS/Application.py
src/OFS/Application.py
+0
-17
No files found.
src/OFS/Application.py
View file @
c0e1fe0f
...
...
@@ -28,7 +28,6 @@ from DateTime import DateTime
from
OFS.metaconfigure
import
get_packages_to_initialize
from
OFS.metaconfigure
import
package_initialized
from
OFS.userfolder
import
UserFolder
from
Persistence
import
Persistent
from
webdav.NullResource
import
NullResource
from
zExceptions
import
Redirect
as
RedirectException
,
Forbidden
...
...
@@ -188,22 +187,6 @@ class Application(ApplicationDefaultPermissions,
InitializeClass
(
Application
)
class
Expired
(
Persistent
):
def
__setstate__
(
self
,
s
=
{}):
dict
=
self
.
__dict__
if
s
.
has_key
(
'id'
):
dict
[
'id'
]
=
s
[
'id'
]
elif
s
.
has_key
(
'__name__'
):
dict
[
'id'
]
=
s
[
'__name__'
]
else
:
dict
[
'id'
]
=
'Unknown'
dict
[
'title'
]
=
'** Expired **'
def
__save__
(
self
):
pass
__inform_commit__
=
__save__
def
initialize
(
app
):
initializer
=
AppInitializer
(
app
)
initializer
.
initialize
()
...
...
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