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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent S
erp5
Commits
cb0af585
Commit
cb0af585
authored
May 07, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trivial changes and coding style.
parent
555b2c96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkDataWithScript.xml
...m/portal_skins/erp5_core/ERP5Site_checkDataWithScript.xml
+3
-4
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkDataWithScript.xml
View file @
cb0af585
...
@@ -100,7 +100,7 @@ if depth == maximum_depth and id_list:\n
...
@@ -100,7 +100,7 @@ if depth == maximum_depth and id_list:\n
recurse(document[id])\n
recurse(document[id])\n
if active_process is None:\n
if active_process is None:\n
return error_list\n
return error_list\n
if
len(error_list)
:\n
if
error_list
:\n
# Create an activity to update active_process,\n
# Create an activity to update active_process,\n
# in order to prevent conflict errors.\n
# in order to prevent conflict errors.\n
activate(active_process=active_process, priority=2) \\\n
activate(active_process=active_process, priority=2) \\\n
...
@@ -120,12 +120,11 @@ else:\n
...
@@ -120,12 +120,11 @@ else:\n
\'portal_simulation\',\n
\'portal_simulation\',\n
\'portal_templates\',\n
\'portal_templates\',\n
\'portal_trash\',\n
\'portal_trash\',\n
])\n
])\n
else:\n
else:\n
from DateTime import DateTime\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
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