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
17556ac1
Commit
17556ac1
authored
Jan 08, 2006
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zLOG -> logging
parent
09c84005
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lib/python/Products/Five/fiveconfigure.py
lib/python/Products/Five/fiveconfigure.py
+3
-2
No files found.
lib/python/Products/Five/fiveconfigure.py
View file @
17556ac1
...
...
@@ -21,10 +21,10 @@ import os
import
sys
import
glob
import
warnings
from
logging
import
getLogger
import
App.config
import
Products
from
zLOG
import
LOG
,
ERROR
from
zope.interface
import
classImplements
,
classImplementsOnly
,
implementedBy
from
zope.interface.interface
import
InterfaceClass
...
...
@@ -43,6 +43,7 @@ from bridge import fromZ2Interface
from
browser.metaconfigure
import
page
debug_mode
=
App
.
config
.
getConfiguration
().
debug_mode
LOG
=
getLogger
(
'Five'
)
def
findProducts
():
import
Products
...
...
@@ -63,7 +64,7 @@ def handleBrokenProduct(product):
# in the control panel. However, all attempts to do so has failed from my
# side. //regebro
exc
=
sys
.
exc_info
()
LOG
(
'Five'
,
ERROR
,
'Could not import Product %s'
%
product
.
__name__
,
error
=
exc
)
LOG
.
error
(
'Could not import Product %s'
%
product
.
__name__
,
exc_info
=
exc
)
def
loadProducts
(
_context
):
products
=
findProducts
()
...
...
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