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
96a15021
Commit
96a15021
authored
Aug 14, 2016
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop unused OFSP Draft/Version classes.
parent
99fd13f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
71 deletions
+0
-71
src/Products/OFSP/Draft.py
src/Products/OFSP/Draft.py
+0
-32
src/Products/OFSP/Version.py
src/Products/OFSP/Version.py
+0
-39
No files found.
src/Products/OFSP/Draft.py
deleted
100644 → 0
View file @
99fd13f7
##############################################################################
#
# Copyright (c) 2002 Zope Foundation and Contributors.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
#
##############################################################################
from
AccessControl.class_init
import
InitializeClass
from
AccessControl.SecurityInfo
import
ClassSecurityInfo
from
OFS.SimpleItem
import
Item
from
Persistence
import
Persistent
class
Draft
(
Persistent
,
Item
):
"Draft objects"
meta_type
=
'Zope Draft'
security
=
ClassSecurityInfo
()
def
__init__
(
self
,
id
,
baseid
,
PATH_INFO
):
self
.
id
=
id
def
icon
(
self
):
return
'p_/broken'
InitializeClass
(
Draft
)
src/Products/OFSP/Version.py
deleted
100644 → 0
View file @
99fd13f7
##############################################################################
#
# Copyright (c) 2002 Zope Foundation and Contributors.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
#
##############################################################################
from
AccessControl.class_init
import
InitializeClass
from
AccessControl.SecurityInfo
import
ClassSecurityInfo
from
OFS.ObjectManager
import
BeforeDeleteException
from
OFS.SimpleItem
import
Item
from
Persistence
import
Persistent
class
VersionException
(
BeforeDeleteException
):
pass
class
Version
(
Persistent
,
Item
):
""" """
meta_type
=
'Version'
security
=
ClassSecurityInfo
()
cookie
=
''
index_html
=
None
# Ugh.
def
__init__
(
self
,
id
,
title
,
REQUEST
):
self
.
id
=
id
self
.
title
=
title
def
icon
(
self
):
return
'p_/broken'
InitializeClass
(
Version
)
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