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
e312f0a1
Commit
e312f0a1
authored
Jul 27, 2005
by
Florent Guillaume
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put warning on a single line.
parent
8ebd0bfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
lib/python/Zope.py
lib/python/Zope.py
+3
-4
No files found.
lib/python/Zope.py
View file @
e312f0a1
...
...
@@ -20,8 +20,7 @@ import sys, Zope2
sys
.
modules
[
'Zope'
]
=
Zope2
import
warnings
warnings
.
warn
(
"The Zope package has been renamed to Zope2.
\
n
"
"Import of a package named 'Zope' is deprecated
\
n
"
"and will be disabled starting in Zope 2.11.
\
n
"
,
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