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
c4cceb84
Commit
c4cceb84
authored
Apr 27, 2006
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- ZCatalog: removed manage_deleteIndex(), manage_delColumns()
which were deprecated since Zope 2.4
parent
88301ada
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
39 deletions
+3
-39
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
lib/python/Products/ZCatalog/ZCatalog.py
lib/python/Products/ZCatalog/ZCatalog.py
+0
-39
No files found.
doc/CHANGES.txt
View file @
c4cceb84
...
@@ -18,6 +18,9 @@ Zope Changes
...
@@ -18,6 +18,9 @@ Zope Changes
Restructuring
Restructuring
- ZCatalog: removed manage_deleteIndex(), manage_delColumns()
which were deprecated since Zope 2.4
- deprecated the zLOG module. Use Pythons 'logging' module instead.
- deprecated the zLOG module. Use Pythons 'logging' module instead.
- replaced all zLOG occurences (expect the zLOG module itself) with
- replaced all zLOG occurences (expect the zLOG module itself) with
...
...
lib/python/Products/ZCatalog/ZCatalog.py
View file @
c4cceb84
...
@@ -372,25 +372,6 @@ class ZCatalog(Folder, Persistent, Implicit):
...
@@ -372,25 +372,6 @@ class ZCatalog(Folder, Persistent, Implicit):
'/manage_catalogSchema?manage_tabs_message=Column%20Added'
)
'/manage_catalogSchema?manage_tabs_message=Column%20Added'
)
security
.
declareProtected
(
manage_zcatalog_entries
,
'manage_delColumns'
)
def
manage_delColumns
(
self
,
names
,
REQUEST
=
None
,
RESPONSE
=
None
,
URL1
=
None
):
""" Deprecated method. Use manage_delColumn instead. """
# log a deprecation warning
import
warnings
warnings
.
warn
(
"The manage_delColumns method of ZCatalog is deprecated"
"since Zope 2.4.2.
\
n
"
"This method is only kept for backwards compatibility "
"for a while
\
n
"
"and will go away in a future release.
\
n
"
"
\
n
"
"Please use instead the manage_delColumn method.
\
n
"
,
DeprecationWarning
)
self
.
manage_delColumn
(
names
,
REQUEST
=
REQUEST
,
RESPONSE
=
RESPONSE
,
URL1
=
URL1
)
security
.
declareProtected
(
manage_zcatalog_entries
,
'manage_delColumn'
)
security
.
declareProtected
(
manage_zcatalog_entries
,
'manage_delColumn'
)
def
manage_delColumn
(
self
,
names
,
REQUEST
=
None
,
RESPONSE
=
None
,
URL1
=
None
):
def
manage_delColumn
(
self
,
names
,
REQUEST
=
None
,
RESPONSE
=
None
,
URL1
=
None
):
""" delete a column or some columns """
""" delete a column or some columns """
...
@@ -418,26 +399,6 @@ class ZCatalog(Folder, Persistent, Implicit):
...
@@ -418,26 +399,6 @@ class ZCatalog(Folder, Persistent, Implicit):
'/manage_catalogIndexes?manage_tabs_message=Index%20Added'
)
'/manage_catalogIndexes?manage_tabs_message=Index%20Added'
)
security
.
declareProtected
(
manage_zcatalog_entries
,
'manage_deleteIndex'
)
def
manage_deleteIndex
(
self
,
ids
=
None
,
REQUEST
=
None
,
RESPONSE
=
None
,
URL1
=
None
):
""" Deprecated method. Use manage_delIndex instead. """
# log a deprecation warning
import
warnings
warnings
.
warn
(
"The manage_deleteIndex method of ZCatalog is deprecated"
"since Zope 2.4.2.
\
n
"
"This method is only kept for backwards compatibility for a "
"while
\
n
"
"and will go away in a future release.
\
n
"
"
\
n
"
"Please use instead the manage_delIndex method.
\
n
"
,
DeprecationWarning
)
self
.
manage_delIndex
(
ids
=
ids
,
REQUEST
=
REQUEST
,
RESPONSE
=
RESPONSE
,
URL1
=
URL1
)
security
.
declareProtected
(
manage_zcatalog_entries
,
'manage_delIndex'
)
security
.
declareProtected
(
manage_zcatalog_entries
,
'manage_delIndex'
)
def
manage_delIndex
(
self
,
ids
=
None
,
REQUEST
=
None
,
RESPONSE
=
None
,
def
manage_delIndex
(
self
,
ids
=
None
,
REQUEST
=
None
,
RESPONSE
=
None
,
URL1
=
None
):
URL1
=
None
):
...
...
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