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
56062e87
Commit
56062e87
authored
Jun 24, 2006
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed zLOG dependency
parent
fd8cd5d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lib/python/Products/Transience/Transience.py
lib/python/Products/Transience/Transience.py
+5
-2
No files found.
lib/python/Products/Transience/Transience.py
View file @
56062e87
...
...
@@ -22,6 +22,7 @@ import random
import
sys
import
os
import
thread
import
logging
from
cgi
import
escape
import
Globals
...
...
@@ -40,7 +41,7 @@ from AccessControl import ClassSecurityInfo, getSecurityManager
from
AccessControl.SecurityManagement
import
newSecurityManager
,
\
setSecurityManager
from
AccessControl.User
import
nobody
from
zLOG
import
LOG
,
WARNING
,
INFO
from
TransientObject
import
TransientObject
from
Fake
import
FakeIOBTree
...
...
@@ -60,6 +61,8 @@ DEBUG = int(os.environ.get('Z_TOC_DEBUG', 0))
_marker
=
[]
LOG
=
logging
.
getLogger
(
'Transience'
)
def
setStrict
(
on
=
''
):
""" Turn on assertions (which may cause conflicts) """
global
STRICT
...
...
@@ -72,7 +75,7 @@ def TLOG(*args):
for
arg
in
args
:
sargs
.
append
(
str
(
arg
))
msg
=
' '
.
join
(
sargs
)
LOG
(
'Transience'
,
INFO
,
msg
)
LOG
.
info
(
msg
)
constructTransientObjectContainerForm
=
HTMLFile
(
'dtml/addTransientObjectContainer'
,
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