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
ed0ec8b0
Commit
ed0ec8b0
authored
Jun 03, 2007
by
Philipp von Weitershausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated stuff that's scheduled for removal in Zope 2.11
parent
f4783984
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
49 deletions
+0
-49
lib/python/ImageFile.py
lib/python/ImageFile.py
+0
-23
lib/python/Zope.py
lib/python/Zope.py
+0
-26
No files found.
lib/python/ImageFile.py
deleted
100644 → 0
View file @
f4783984
##############################################################################
#
# Copyright (c) 2002 Zope Corporation and Contributors. All Rights Reserved.
#
# 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
#
##############################################################################
"""Image object that is stored in a file"""
__version__
=
'$Revision: 1.13 $'
[
11
:
-
2
]
############################################################
# BBB 2005/11/18 -- This module will be removed in Zope 2.11
#
from
App.ImageFile
import
ImageFile
import
warnings
warnings
.
warn
(
"The ImageFile module will be removed in Zope 2.11. "
"Use App.ImageFile instead."
,
DeprecationWarning
,
stacklevel
=
2
)
lib/python/Zope.py
deleted
100644 → 0
View file @
f4783984
##############################################################################
#
# Copyright (c) 2005 Zope Corporation and Contributors.
# All Rights Reserved.
#
# 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.
#
##############################################################################
"""Legacy Zope "package" that redirects to the new Zope 2 package
$Id$
"""
import
sys
,
Zope2
sys
.
modules
[
'Zope'
]
=
Zope2
import
warnings
warnings
.
warn
(
"The Zope package has been renamed to Zope2. "
"Import of a package named 'Zope' is deprecated "
"and will be disabled starting in Zope 2.11."
,
DeprecationWarning
,
stacklevel
=
2
)
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