Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
erp5
Commits
e9c29e9b
Commit
e9c29e9b
authored
May 09, 2013
by
Rafael Monnerat
Committed by
Xiaowu Zhang
Feb 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove logs for debug only.
parent
deb1755d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
product/ERP5Form/Form.py
product/ERP5Form/Form.py
+0
-4
No files found.
product/ERP5Form/Form.py
View file @
e9c29e9b
...
...
@@ -649,7 +649,6 @@ class ERP5Form(ZMIForm, ZopePageTemplate):
here
=
obj
,
context
=
obj
,
)
LOG
(
'ERP5Form/Form.py:__call__'
,
0
,
'%s %s '
%
(
self
.
pt
,
extra_context
))
security
=
getSecurityManager
()
...
...
@@ -660,14 +659,12 @@ class ERP5Form(ZMIForm, ZopePageTemplate):
keyset
=
{
'here'
:
self
.
_getContext
(),
'options'
:
kwargs
}
LOG
(
'ERP5Form/Form.py:__call__'
,
0
,
'%s %s %s'
%
(
self
.
pt
,
keyset
,
self
.
ZCacheable_isCachingEnabled
()))
result
=
self
.
ZCacheable_get
(
keywords
=
keyset
)
if
result
is
not
None
:
# Got a cached value.
return
result
# Execute the template in a new security context.
LOG
(
'ERP5Form/Form.py:__call__'
,
0
,
'%s %s %s'
%
(
self
.
pt
,
keyset
,
self
.
ZCacheable_isCachingEnabled
()))
result
=
pt
.
pt_render
(
extra_context
=
extra_context
)
if
keyset
is
not
None
:
# Store the result in the cache.
...
...
@@ -676,7 +673,6 @@ class ERP5Form(ZMIForm, ZopePageTemplate):
def
_exec
(
self
,
bound_names
,
args
,
kw
):
pt
=
getattr
(
self
,
self
.
pt
)
LOG
(
'ERP5Form/Form.py:_exec'
,
0
,
'%s %s '
%
(
self
.
pt
,
bound_names
))
return
pt
.
_exec
(
self
,
bound_names
,
args
,
kw
)
def
manage_renameObject
(
self
,
id
,
new_id
,
REQUEST
=
None
):
...
...
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