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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
erp5
Commits
555b2c96
Commit
555b2c96
authored
May 07, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop logging debug-only values.
parent
a7677c01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkDataWithScript.xml
...m/portal_skins/erp5_core/ERP5Site_checkDataWithScript.xml
+0
-2
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkDataWithScript.xml
View file @
555b2c96
...
@@ -72,7 +72,6 @@ From document pointed to by \'relative_url\':\n
...
@@ -72,7 +72,6 @@ From document pointed to by \'relative_url\':\n
For the portal, \'relative_url\' must be false and only module objects are\n
For the portal, \'relative_url\' must be false and only module objects are\n
considered if id_list is None.\n
considered if id_list is None.\n
"""\n
"""\n
from Products.ERP5Type.Log import log\n
document = context.getPortalObject()\n
document = context.getPortalObject()\n
context = document.portal_activities\n
context = document.portal_activities\n
if relative_url:\n
if relative_url:\n
...
@@ -127,7 +126,6 @@ else:\n
...
@@ -127,7 +126,6 @@ else:\n
id_list = []\n
id_list = []\n
for day_ago in xrange(hbtree_days):\n
for day_ago in xrange(hbtree_days):\n
date = (DateTime()-day_ago).strftime(\'%Y%m%d\')\n
date = (DateTime()-day_ago).strftime(\'%Y%m%d\')\n
log(\'date for objectIds\', date)\n
try:\n
try:\n
id_list += document.objectIds(base_id=date)\n
id_list += document.objectIds(base_id=date)\n
except (TypeError, IndexError):\n
except (TypeError, IndexError):\n
...
...
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