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
09750f28
Commit
09750f28
authored
Apr 23, 2004
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch zLOG --> logging
parent
34fa04bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
lib/python/App/class_init.py
lib/python/App/class_init.py
+4
-3
No files found.
lib/python/App/class_init.py
View file @
09750f28
...
@@ -36,9 +36,10 @@ def default__class_init__(self):
...
@@ -36,9 +36,10 @@ def default__class_init__(self):
try
:
classname
=
'%s.%s'
%
(
try
:
classname
=
'%s.%s'
%
(
self
.
__module__
,
self
.
__name__
)
self
.
__module__
,
self
.
__name__
)
except
AttributeError
:
classname
=
`self`
except
AttributeError
:
classname
=
`self`
from
zLOG
import
LOG
,
WARNING
import
logging
LOG
(
'Init'
,
WARNING
,
'Ambiguous name for method of %s: '
logging
.
getLogger
(
"Init"
).
warning
(
'"%s" != "%s"'
%
(
classname
,
d
[
'__name__'
],
name
))
'Ambiguous name for method of %s: %r != %r'
,
classname
,
d
[
'__name__'
],
name
)
else
:
else
:
# Supply a name implicitly so that the method can
# Supply a name implicitly so that the method can
# find the security assertions on its container.
# find the security assertions on its container.
...
...
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