Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
19
Merge Requests
19
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
0f6fe445
Commit
0f6fe445
authored
Jun 29, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide default parameters also when slapconsole is used
parent
8b7ec35e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
master/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/scripts/Person_requestSoftwareInstance.xml
...rface_workflow/scripts/Person_requestSoftwareInstance.xml
+4
-1
master/bt5/vifib_slap/bt/revision
master/bt5/vifib_slap/bt/revision
+1
-1
No files found.
master/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/scripts/Person_requestSoftwareInstance.xml
View file @
0f6fe445
...
...
@@ -76,9 +76,12 @@ if is_slave not in [True, False]:\n
empty_parameter = """<?xml version="1.0" encoding="utf-8"?>
\n
<instance>
\n
</instance>
"""\n
empty_parameter2 = """
<?xml version=\'1.0\' encoding=\'utf-8\'?>
\n
<instance/>
"""\n
\n
\n
# XXX Hardcode default parameter\n
if
instance_xml == empty_parameter
:\n
if
(instance_xml == empty_parameter) or (instance_xml.startswith(empty_parameter2))
:\n
if software_release_url_string == "http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/erp5-frontend:/software/erp5/software.cfg": \n
instance_xml = """
<?xml version="1.0" encoding="utf-8"?>
\n
<instance>
\n
...
...
master/bt5/vifib_slap/bt/revision
View file @
0f6fe445
767
\ No newline at end of file
768
\ No newline at end of file
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