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
f5a8fcba
Commit
f5a8fcba
authored
Nov 18, 2005
by
Philipp von Weitershausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge r40210 from Zope 2.9 branch:
Deprecated the ImageFile module for good. It will be removed in Zope 2.11.
parent
3c79f800
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
lib/python/ImageFile.py
lib/python/ImageFile.py
+4
-6
lib/python/Products/OFSP/__init__.py
lib/python/Products/OFSP/__init__.py
+1
-1
lib/python/Products/SiteErrorLog/__init__.py
lib/python/Products/SiteErrorLog/__init__.py
+1
-1
No files found.
doc/CHANGES.txt
View file @
f5a8fcba
...
...
@@ -92,6 +92,9 @@ Zope Changes
non-existing or closed database connection next to the Connection ID
dropdown and present it using red to increase its visibility.
- The ImageFile module has finally been deprecated for good and
will be removed in Zope 2.11. Use App.ImageFile instead.
after Zope 2.8.1
- The '@' character is now allowed in object ids (RFC 1738 allows it).
...
...
lib/python/ImageFile.py
View file @
f5a8fcba
...
...
@@ -14,12 +14,10 @@
__version__
=
'$Revision: 1.13 $'
[
11
:
-
2
]
############################################################
# BBB 2005/11/18 -- This module will be removed in Zope 2.11
#
# Eventually this module will go away!
#
############################################################
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/Products/OFSP/__init__.py
View file @
f5a8fcba
...
...
@@ -22,7 +22,7 @@ import ZClasses.ObjectManager
from
AccessControl.Permissions
import
add_documents_images_and_files
from
AccessControl.Permissions
import
add_folders
from
ZClasses
import
createZClassForBase
from
ImageFile
import
ImageFile
from
App.
ImageFile
import
ImageFile
createZClassForBase
(
OFS
.
DTMLMethod
.
DTMLMethod
,
globals
()
,
'ZDTMLMethod'
,
'DTML Method'
)
...
...
lib/python/Products/SiteErrorLog/__init__.py
View file @
f5a8fcba
...
...
@@ -17,7 +17,7 @@ $Id$
"""
import
SiteErrorLog
from
ImageFile
import
ImageFile
from
App.
ImageFile
import
ImageFile
misc_
=
{
'ok.gif'
:
ImageFile
(
'www/ok.gif'
,
globals
()),
...
...
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