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
31596611
Commit
31596611
authored
Apr 18, 2012
by
Łukasz Nowak
Committed by
Sebastien Robin
Aug 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split on any whitespace.
Whitespaces shall be encoded with %digit
parent
e9674c9e
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_checkPromiseBt5.xml
...eItem/portal_skins/erp5_promise/Alarm_checkPromiseBt5.xml
+1
-1
bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_checkPromiseTemplateTool.xml
...tal_skins/erp5_promise/Alarm_checkPromiseTemplateTool.xml
+1
-1
bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_installPromiseBt5.xml
...tem/portal_skins/erp5_promise/Alarm_installPromiseBt5.xml
+1
-1
bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_installPromiseTemplateTool.xml
...l_skins/erp5_promise/Alarm_installPromiseTemplateTool.xml
+1
-1
bt5/erp5_promise/bt/revision
bt5/erp5_promise/bt/revision
+1
-1
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+1
-1
No files found.
bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_checkPromiseBt5.xml
View file @
31596611
...
@@ -62,7 +62,7 @@ active_result = ActiveResult()\n
...
@@ -62,7 +62,7 @@ active_result = ActiveResult()\n
\n
\n
portal.portal_templates.updateRepositoryBusinessTemplateList(portal.portal_templates.getRepositoryList())\n
portal.portal_templates.updateRepositoryBusinessTemplateList(portal.portal_templates.getRepositoryList())\n
\n
\n
bt5_list = [x[1] for x in portal.portal_templates.resolveBusinessTemplateListDependency(bt5.split(
\'\\n\'
), newest_only=True)]\n
bt5_list = [x[1] for x in portal.portal_templates.resolveBusinessTemplateListDependency(bt5.split(), newest_only=True)]\n
bt5_list.extend([x.getTitle() for x in portal.portal_templates.getUpdatedRepositoryBusinessTemplateList()])\n
bt5_list.extend([x.getTitle() for x in portal.portal_templates.getUpdatedRepositoryBusinessTemplateList()])\n
bt5_list = list(set(bt5_list))\n
bt5_list = list(set(bt5_list))\n
\n
\n
...
...
bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_checkPromiseTemplateTool.xml
View file @
31596611
...
@@ -59,7 +59,7 @@ if promise_repository is None:\n
...
@@ -59,7 +59,7 @@ if promise_repository is None:\n
return\n
return\n
\n
\n
if promise_repository:\n
if promise_repository:\n
promise_repository_list = promise_repository.split(
\'\\n\'
)\n
promise_repository_list = promise_repository.split()\n
promise_repository_list.sort()\n
promise_repository_list.sort()\n
else:\n
else:\n
promise_repository_list = []\n
promise_repository_list = []\n
...
...
bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_installPromiseBt5.xml
View file @
31596611
...
@@ -56,7 +56,7 @@ bt5 = portal.getPromiseParameter(\'portal_templates\', \'expected_bt5\')\n
...
@@ -56,7 +56,7 @@ bt5 = portal.getPromiseParameter(\'portal_templates\', \'expected_bt5\')\n
if bt5 is None:\n
if bt5 is None:\n
return\n
return\n
\n
\n
bt5_list = [x[1] for x in portal.portal_templates.resolveBusinessTemplateListDependency(bt5.split(
\'\\n\'
), newest_only=True)]\n
bt5_list = [x[1] for x in portal.portal_templates.resolveBusinessTemplateListDependency(bt5.split(), newest_only=True)]\n
bt5_list.extend([x.getTitle() for x in portal.portal_templates.getUpdatedRepositoryBusinessTemplateList()])\n
bt5_list.extend([x.getTitle() for x in portal.portal_templates.getUpdatedRepositoryBusinessTemplateList()])\n
bt5_list = list(set(bt5_list))\n
bt5_list = list(set(bt5_list))\n
\n
\n
...
...
bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_installPromiseTemplateTool.xml
View file @
31596611
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
<value>
<string>
portal = context.getPortalObject()\n
<value>
<string>
portal = context.getPortalObject()\n
\n
\n
repository = portal.getPromiseParameter(\'portal_templates\', \'repository\')\n
repository = portal.getPromiseParameter(\'portal_templates\', \'repository\')\n
portal.portal_templates.updateRepositoryBusinessTemplateList(repository.split(
\'\\n\'
))\n
portal.portal_templates.updateRepositoryBusinessTemplateList(repository.split())\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
...
...
bt5/erp5_promise/bt/revision
View file @
31596611
8
9
\ No newline at end of file
\ No newline at end of file
product/ERP5/ERP5Site.py
View file @
31596611
...
@@ -2197,7 +2197,7 @@ class ERP5Generator(PortalGenerator):
...
@@ -2197,7 +2197,7 @@ class ERP5Generator(PortalGenerator):
# Configure the bt5 repository
# Configure the bt5 repository
repository
=
p
.
getPromiseParameter
(
'portal_templates'
,
'repository'
)
repository
=
p
.
getPromiseParameter
(
'portal_templates'
,
'repository'
)
if
repository
is
not
None
:
if
repository
is
not
None
:
template_tool
.
updateRepositoryBusinessTemplateList
(
repository
.
split
(
'
\
n
'
))
template_tool
.
updateRepositoryBusinessTemplateList
(
repository
.
split
())
template_tool
.
installBusinessTemplateListFromRepository
(
template_tool
.
installBusinessTemplateListFromRepository
(
[
'erp5_promise'
],
activate
=
True
,
install_dependency
=
True
)
[
'erp5_promise'
],
activate
=
True
,
install_dependency
=
True
)
p
.
portal_alarms
.
subscribe
()
p
.
portal_alarms
.
subscribe
()
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